/* ES PROTECT - correctifs d'interface 2026-08-03. */
body:not(#index) #wrapper { padding-top: 68px; }

/* Keep account, CMS and contact content visibly separated from the two-row menu. */
body#authentication #wrapper,
body#cms #wrapper,
body#contact #wrapper { padding-top: 150px !important; }

#authentication #content-wrapper,
#cms #content-wrapper,
#contact #content-wrapper { width: 100%; }

#authentication #content {
  max-width: 720px;
  margin: 0 auto 42px;
  padding: 42px 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(24, 33, 45, .09);
}

#authentication .form-title h1 {
  margin: 0 0 30px;
  color: #18212f;
  font: 700 30px/1.2 "Open Sans", Arial, sans-serif;
}

#authentication .login-form { margin: 0; }
#authentication .login-form .form-group { margin-bottom: 22px; }
#authentication .login-form .form-control-label {
  margin-bottom: 8px;
  color: #3f4855;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

#authentication .login-form .form-control {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #cfd6df;
  border-radius: 9px;
  box-shadow: none;
}

#authentication .login-form .input-group-btn .btn { min-height: 52px; border-radius: 0 9px 9px 0; }
#authentication .login-form .form-control:focus { border-color: #ff6a00; box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
#authentication .login-form .tvall-inner-btn { min-height: 52px; margin-top: 10px; border-radius: 9px; }
#authentication .no-account { margin-top: 20px; }

#cms .tv-sub-pages-inner-content {
  margin: 0 auto 42px;
  padding: 38px 42px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(24, 33, 45, .07);
}

#cms .tv-sub-pages-inner-content h1,
#cms .tv-sub-pages-inner-content h2,
#cms .tv-sub-pages-inner-content h3 {
  color: #18212f;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

#cms .tv-sub-pages-inner-content p,
#cms .tv-sub-pages-inner-content li {
  color: #3f4855;
  font: 400 16px/1.7 "Open Sans", Arial, sans-serif;
}

#contact #left-column { margin-bottom: 28px; }
#contact #content {
  max-width: 920px;
  margin: 0 auto 46px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#contact .eaos-contact-info,
#contact .eaos-contact-form {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(24, 33, 45, .07);
}

#contact .eaos-contact-info { padding: 32px 34px; }
#contact .eaos-contact-info-header,
#contact .eaos-contact-form-header { margin-bottom: 28px; text-align: center; }
#contact .eaos-contact-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #ff6a00;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

#contact .eaos-contact-info h2,
#contact .eaos-contact-form-header h1 {
  margin: 0;
  color: #18212f;
  font: 700 28px/1.2 "Open Sans", Arial, sans-serif;
}

#contact .eaos-contact-form-header p { margin: 10px 0 0; color: #66707e; font-size: 15px; }
#contact .eaos-contact-info > .row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
#contact .eaos-contact-info .block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 175px;
  padding: 24px 20px;
  text-align: center;
  background: #f7f8fa;
  border: 10px solid #fff;
  border-radius: 18px;
}

#contact .eaos-contact-info .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  color: #fff;
  background: #ff6a00;
  border-radius: 50%;
}

#contact .eaos-contact-info .icon i { color: inherit; font-size: 23px; }
#contact .eaos-contact-info .data,
#contact .eaos-contact-info .data p,
#contact .eaos-contact-info .data span,
#contact .eaos-contact-info .data a { margin: 0; color: #3f4855; font-size: 15px; line-height: 1.65; }
#contact .eaos-contact-info .data span { display: block; margin-bottom: 3px; color: #18212f; font-weight: 700; }

#contact .eaos-contact-form .form-fields { padding: 38px 42px 34px; }
#contact .eaos-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
#contact .eaos-contact-field,
#contact .eaos-contact-consent { min-width: 0; margin: 0; }
#contact .eaos-contact-field-full { grid-column: 1 / -1; }
#contact .eaos-contact-form .form-control-label {
  display: block;
  margin: 0 0 8px;
  color: #3f4855;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

#contact .eaos-contact-form .form-control-label span { color: #89919c; font-size: 12px; font-weight: 400; }
#contact .eaos-contact-form .form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  color: #202733;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 9px;
  box-shadow: none;
}

#contact .eaos-contact-form textarea.form-control { min-height: 180px; resize: vertical; }
#contact .eaos-contact-form .form-control:focus { border-color: #ff6a00; box-shadow: 0 0 0 3px rgba(255, 106, 0, .12); }
#contact .eaos-contact-form .bootstrap-filestyle,
#contact .eaos-contact-form .input-group { width: 100%; }
#contact .eaos-contact-form .bootstrap-filestyle .form-control,
#contact .eaos-contact-form .bootstrap-filestyle .btn { min-height: 52px; }
#contact .eaos-contact-form .bootstrap-filestyle .btn {
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: #18212f;
  border-color: #18212f;
  border-radius: 0 9px 9px 0;
}

#contact .eaos-contact-consent { padding: 16px 18px; background: #f7f8fa; border: 1px solid #e1e5ea; border-radius: 10px; }
#contact .eaos-contact-consent .custom-checkbox,
#contact .eaos-contact-consent .psgdpr_consent_message { display: flex; align-items: flex-start; width: 100%; }
#contact .eaos-contact-consent .psgdpr_consent_message {
  gap: 10px;
  margin: 0;
  color: #596270;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}

#contact .eaos-contact-consent .psgdpr_consent_message > span:last-child { flex: 1 1 auto; min-width: 0; white-space: normal; }
#contact .eaos-contact-footer { display: flex; justify-content: flex-end; margin-top: 24px; }
#contact .eaos-contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
#contact .eaos-contact-submit { min-width: 220px; min-height: 52px; border-radius: 9px; box-shadow: 0 8px 18px rgba(255, 106, 0, .2); }
#contact .eaos-contact-submit:disabled { cursor: not-allowed; opacity: .55; }

html body .tvcmscookies-notice {
  position: fixed !important;
  z-index: 10000 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 18px 24px !important;
  color: #fff !important;
  background: rgba(17, 25, 36, .96) !important;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .18) !important;
}

html body .tvcmscookies-notice .tvcookies-notice-img-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

html body .tvcmscookies-notice .tvcookies-notice-img-inner { display: flex !important; flex: 1 1 auto !important; align-items: center !important; min-width: 0 !important; }
html body .tvcmscookies-notice .tvcookie-content-box { flex: 1 1 auto !important; width: auto !important; margin: 0 !important; padding: 0 !important; text-align: left !important; }
html body .tvcmscookies-notice .tvcookies-notice-title,
html body .tvcmscookies-notice .tvcookies-notice-title p { margin: 0 !important; padding: 0 !important; color: #fff !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.55 !important; }
html body .tvcmscookies-notice .tvcookie-btn-wrapper { display: none !important; }
html body .tvcmscookies-notice .tvcookies-notice-icon { display: flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: center !important; }
html body .tvcmscookies-notice button.tvclose-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 170px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 22px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  background: #ff6a00 !important;
  border: 0 !important;
  border-radius: 9px !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 8px 18px rgba(255, 106, 0, .25) !important;
}

html body .tvcmscookies-notice button.tvclose-icon:hover,
html body .tvcmscookies-notice button.tvclose-icon:focus { color: #fff !important; background: #e95f00 !important; outline: 3px solid rgba(255, 255, 255, .24) !important; }

@media (max-width: 767px) {
  body:not(#index) #wrapper { padding-top: 22px; }
  body#authentication #wrapper,
  body#cms #wrapper,
  body#contact #wrapper { padding-top: 56px !important; }
  #authentication #content,
  #cms .tv-sub-pages-inner-content,
  #contact .eaos-contact-info,
  #contact .eaos-contact-form .form-fields { padding: 26px 20px; border-radius: 12px; }
  #authentication .form-title h1,
  #contact .eaos-contact-info h2,
  #contact .eaos-contact-form-header h1 { font-size: 24px; }
  #contact .eaos-contact-grid { grid-template-columns: 1fr; }
  #contact .eaos-contact-field-full { grid-column: auto; }
  #contact .eaos-contact-info .block { min-height: 0; }
  #contact .eaos-contact-submit { width: 100%; }
  html body .tvcmscookies-notice { padding: 16px !important; }
  html body .tvcmscookies-notice .tvcookies-notice-img-wrapper { flex-direction: column !important; gap: 14px !important; }
  html body .tvcmscookies-notice .tvcookie-content-box { text-align: center !important; }
  html body .tvcmscookies-notice button.tvclose-icon { width: 100% !important; min-width: 0 !important; }
}

/* ES PROTECT - correction finale hero et alignement des 3 icones 2026-08-05. */
@media (min-width: 821px) {
  html body .espro-hero {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1920 / 824 !important;
  }

  html body .espro-hero__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* The theme renders the desktop navigation partly outside #header.
   Reserve only the overlap at each wrapping width. */
@media (min-width: 992px) and (max-width: 1034px) {
  html body#index #wrapper {
    padding-top: 114px !important;
  }
}

@media (min-width: 1035px) and (max-width: 1199px) {
  html body#index #wrapper {
    padding-top: 60px !important;
  }
}

@media (min-width: 1200px) {
  html body#index #wrapper {
    padding-top: 148px !important;
  }
}

/* Keep each inner page frame at its original size and place the 40 px gap
   outside the frame, below the category navigation. */
@media (min-width: 992px) and (max-width: 1034px) {
  html body:not(#index) #wrapper {
    margin-top: 113px !important;
  }
}

@media (min-width: 1035px) and (max-width: 1199px) {
  html body:not(#index) #wrapper {
    margin-top: 59px !important;
  }
}

@media (min-width: 1200px) {
  html body:not(#index) #wrapper {
    margin-top: 147px !important;
  }
}

html body #header .tv-contact-account-cart-wrapper > .tvcmssearch-wrapper,
html body #header .tv-contact-account-cart-wrapper > #tvcmsdesktop-account-button,
html body #header .tv-contact-account-cart-wrapper > .tvcms-header-cart {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body #header .tvcmssearch-wrapper .search-widget,
html body #header .tvcmssearch-wrapper .tvsearch-top-wrapper,
html body #header .tvcmssearch-wrapper .tvheader-sarch-display,
html body #header .tvcmssearch-wrapper .tvheader-search-display-icon,
html body #header .tvcmssearch-wrapper .tvsearch-open,
html body #header .tv-header-account,
html body #header .tv-myaccount-btn,
html body #header .tvcms-header-cart .blockcart,
html body #header .tvcms-header-cart .tvheader-cart-wrapper,
html body #header .tvcms-header-cart .tvheader-cart-btn-wrapper,
html body #header .tvcms-header-cart .tvcart-icon-text-wrapper,
html body #header .tvcms-header-cart .tv-cart-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

html body #header .tvcmssearch-wrapper .tvsearch-open svg,
html body #header .tv-myaccount-btn svg,
html body #header .tvcms-header-cart .tv-cart-icon svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  display: block !important;
}

html body #header .tvcmssearch-wrapper .tvsearch-open svg circle {
  stroke: #111 !important;
  stroke-width: 2.2 !important;
}

html body #header .tvcmssearch-wrapper .tvsearch-open svg polygon {
  fill: #111 !important;
  stroke: #111 !important;
  stroke-width: 1.4 !important;
  stroke-linejoin: round !important;
}

html body #header .tv-myaccount-btn svg #XMLID_28_ {
  fill: #111 !important;
  stroke: #111 !important;
  stroke-width: 18 !important;
}

html body #header .tv-myaccount-btn svg #XMLID_12_ {
  stroke: #111 !important;
  stroke-width: 36 !important;
}

html body #header .tvcms-header-cart .tv-cart-icon svg path {
  fill: #111 !important;
}

@media (max-width: 991px) {
  html body #header .tvmobile-search-icon .tvsearch-open,
  html body #header .tvcmsmobile-account-button .tv-myaccount-btn,
  html body #header .tvheader-cart-wrapper .tv-cart-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #header .tvsearch-open svg,
  html body #header .tv-myaccount-btn svg,
  html body #header .tv-cart-icon svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    display: block !important;
  }

  html body #header .tvsearch-open svg circle {
    stroke: #111 !important;
    stroke-width: 2.2 !important;
  }

  html body #header .tvsearch-open svg polygon {
    fill: #111 !important;
    stroke: #111 !important;
    stroke-width: 1.4 !important;
  }

  html body #header .tv-cart-icon svg path {
    fill: #111 !important;
  }
}

/* ES PROTECT - consentement cookies fonctionnel 2026-08-05. */
html body .eaos-cookie-consent,
html body .eaos-cookie-consent * {
  box-sizing: border-box;
}

html body .eaos-cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  max-height: 92vh;
  padding: 18px;
  overflow-y: auto;
  font-family: "Open Sans", Arial, sans-serif;
  background: rgba(8, 14, 21, .68);
  backdrop-filter: blur(5px);
}

html body .eaos-cookie-consent--saved {
  display: none;
}

html body .eaos-cookie-consent__panel {
  width: min(1180px, 100%);
  margin: auto auto 0;
  padding: 24px;
  color: #172433;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(8, 14, 21, .28);
}

html body .eaos-cookie-consent__copy {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

html body .eaos-cookie-consent__copy h2 {
  margin: 0 0 8px;
  color: #111821;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

html body .eaos-cookie-consent__copy p {
  margin: 0;
  color: #425064;
  font-size: 14px;
  line-height: 1.55;
}

html body .eaos-cookie-consent__copy a {
  color: #b8460f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html body .eaos-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

html body .eaos-cookie-button,
html body .eaos-cookie-link-button,
html body .eaos-cookie-reopen {
  min-height: 46px;
  padding: 11px 18px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  border-radius: 8px;
}

html body .eaos-cookie-button {
  min-width: 170px;
  border: 2px solid #172433;
}

html body .eaos-cookie-button--accept,
html body .eaos-cookie-button--save {
  color: #fff;
  background: #f36b21;
  border-color: #f36b21;
}

html body .eaos-cookie-button--reject {
  color: #172433;
  background: #fff;
}

html body .eaos-cookie-button--preferences {
  color: #fff;
  background: #172433;
}

html body .eaos-cookie-button:hover,
html body .eaos-cookie-button:focus-visible,
html body .eaos-cookie-link-button:focus-visible,
html body .eaos-cookie-reopen:focus-visible {
  outline: 3px solid rgba(243, 107, 33, .35);
  outline-offset: 3px;
}

html body .eaos-cookie-button:disabled {
  cursor: wait;
  opacity: .58;
}

html body .eaos-cookie-preferences[hidden] {
  display: none !important;
}

html body .eaos-cookie-preferences {
  max-width: 880px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid #dfe4e8;
}

html body .eaos-cookie-preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  color: #172433;
  border-bottom: 1px solid #edf0f2;
}

html body .eaos-cookie-preference > div,
html body .eaos-cookie-preference > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

html body .eaos-cookie-preference strong {
  color: #111821;
  font-size: 15px;
  font-weight: 800;
}

html body .eaos-cookie-preference span {
  color: #596779;
  font-size: 13px;
  line-height: 1.45;
}

html body .eaos-cookie-preference input[type="checkbox"] {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #f36b21;
}

html body .eaos-cookie-required {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #425064 !important;
  font-weight: 700;
  background: #f2f4f6;
  border-radius: 999px;
}

html body .eaos-cookie-preferences__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

html body .eaos-cookie-link-button {
  color: #172433;
  background: transparent;
  border: 0;
  text-decoration: underline;
}

html body .eaos-cookie-consent__status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #3c6c35;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

html body .eaos-cookie-consent__status--error {
  color: #a22626;
}

html body .eaos-cookie-reopen {
  position: fixed;
  z-index: 9998;
  bottom: 14px;
  left: 14px;
  min-height: 40px;
  padding: 8px 13px;
  color: #fff;
  font-size: 12px;
  background: #172433;
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 6px 18px rgba(8, 14, 21, .22);
}

html body .eaos-cookie-reopen--hidden {
  display: none;
}

@media (max-width: 767px) {
  html body .eaos-cookie-consent {
    align-items: flex-end;
    padding: 10px;
  }

  html body .eaos-cookie-consent__panel {
    padding: 19px 16px 16px;
    border-radius: 14px;
  }

  html body .eaos-cookie-consent__copy h2 {
    font-size: 19px;
  }

  html body .eaos-cookie-consent__copy p {
    font-size: 13px;
  }

  html body .eaos-cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }

  html body .eaos-cookie-button {
    width: 100%;
    min-width: 0;
  }

  html body .eaos-cookie-preference {
    align-items: flex-start;
    gap: 14px;
  }

  html body .eaos-cookie-required {
    max-width: 96px;
    text-align: center;
  }

  html body .eaos-cookie-preferences__footer {
    align-items: stretch;
    flex-direction: column;
  }

  html body .eaos-cookie-reopen {
    bottom: 8px;
    left: 8px;
  }
}
