/* Maison Ambrosi — chrome, forms, lightbox, nav, sliders (vanilla). */

.skip-link.screen-reader-text:focus {
  left: 8px;
  top: 8px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.form-status[hidden] { display: none !important; }
.form-status:not([hidden]) { display: block; }
.form-status.is-ok { color: #2e7d32; }
.form-status.is-err { color: #c62828; }

/* Language submenu. */
.menu-item-languages {
  position: relative;
}
.menu-item-languages > .sub-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 200;
  min-width: 160px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.menu-item-languages:hover > .sub-menu,
.menu-item-languages:focus-within > .sub-menu,
.menu-item-languages.is-open > .sub-menu {
  display: block;
}
.menu-item-languages .sub-menu .menu-link {
  display: block;
  padding: 8px 16px;
  color: #1a1a1a;
  text-decoration: none;
}
.menu-item-languages .sub-menu .menu-link:hover,
.menu-item-languages .sub-menu .current-menu-item .menu-link {
  background: #f4f4f4;
}

/* Mobile header content. */
.ast-header-break-point .ast-mobile-header-content {
  display: none;
}
.ast-header-break-point .ast-mobile-header-content.is-open,
.ast-header-break-point #ast-mobile-header.toggle-on .ast-mobile-header-content {
  display: block;
}

@media (max-width: 921.99px) {
  .menu-item-languages > .sub-menu {
    position: static;
    box-shadow: none;
    background: transparent;
  }
}

/* Trustindex widget (no loader.js). */
.ti-widget-host,
.ti-widget-host .ti-widget {
  display: block !important;
}
pre.ti-widget { display: none !important; }

/* Spectra leftover lightbox: fixed full-viewport, opacity 0, intercepts clicks.
   Homemade [data-lightbox] is the only gallery viewer. Never re-enable this. */
.spectra-image-gallery__control-lightbox {
  pointer-events: none !important;
  visibility: hidden !important;
  display: none !important;
}

/* Lightbox. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none !important; }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.lightbox__close {
  top: 12px;
  right: 16px;
  font-size: 42px;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  padding: 8px 16px;
}
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

/* Default pages (404 / merci). */
.page-default {
  max-width: 800px;
  margin: 80px auto 100px;
  padding: 0 24px;
}
.page-default .entry-title {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 20px;
}
.page-default .page-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

html { scroll-behavior: smooth; }

/* Astra customizer heading scale (was inline on the WP page, not in vendor CSS). */
h1,
.entry-content :where(h1) {
  font-size: 62px;
  font-size: 3.875rem;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.2em;
  letter-spacing: -1px;
}
h2,
.entry-content :where(h2) {
  font-size: 38px;
  font-size: 2.375rem;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.16em;
}
h3,
.entry-content :where(h3) {
  font-size: 30px;
  font-size: 1.875rem;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.2em;
  letter-spacing: 0;
}
@media (max-width: 921px) {
  h1, .entry-content :where(h1) { font-size: 44px; }
  h2, .entry-content :where(h2) { font-size: 32px; }
  h3, .entry-content :where(h3) { font-size: 26px; }
}
@media (max-width: 544px) {
  h1, .entry-content :where(h1) { font-size: 38px; }
  h2, .entry-content :where(h2) { font-size: 28px; }
  h3, .entry-content :where(h3) { font-size: 24px; }
}

/* Smart Slider 3 without its runtime.
   Keep the original CSS grid overlay (backgrounds / layers / arrows share
   one cell). display:block on wrappers stacked the 2:1 SVG under the photos. */
.n2-ss-slider {
  display: grid !important;
  grid-template-columns: 100%;
  grid-template-rows: auto auto;
  width: 100%;
  max-width: 100%;
}
.n2-ss-slider .n2-ss-slide-backgrounds {
  position: relative !important;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.n2-ss-slider .n2-ss-slide-background {
  position: absolute !important;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Page CSS parks slides at translateX(-100000px) until Smart Slider JS runs. */
  transform: none !important;
  transition: opacity 0.35s ease;
}
.n2-ss-slider .n2-ss-slide-background.is-ss-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: none !important;
}
.n2-ss-slider .n2-ss-slide-background-image,
.n2-ss-slider .n2-ss-slide-background-image picture,
.n2-ss-slider .n2-ss-slide-background-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.n2-ss-slider .n2-ss-slider-4 {
  pointer-events: none;
}
.n2-ss-slider .n2-ss-slider-wrapper-inside .n2-ss-slider-controls,
.n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
.n2-ss-slider .n2-ss-slider-controls-absolute-right-center,
.n2-ss-slider .n2-ss-control-bullet {
  visibility: visible !important;
  z-index: 30;
  pointer-events: auto;
}
.n2-ss-slider .n2-ss-slider-wrapper-inside .n2-ss-slider-controls.n2-ss-slider-controls-absolute-center-bottom {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 16px !important;
  top: auto !important;
  height: auto !important;
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible !important;
  z-index: 30;
}
.n2-ss-slider .nextend-arrow {
  cursor: pointer;
  pointer-events: auto;
}
