/* One shared presentation layer for the archived header, menus, and footer. */
[data-shared-site-component="header"] {
  position: relative;
  z-index: 1000;
}

.unit-header-nav__item.shared-nav-has-children {
  position: relative;
}

.unit-header-nav__item.shared-nav-open > .unit-header-nav__item-link .unit-header-nav__item-drop {
  transform: rotate(180deg);
}

/* The packaging page's hero video was constrained by its inner container,
   leaving the module's background image tiled in the side gutters. */
#module-04Enai2l4y {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}

#module-04Enai2l4y > #unit-0H56ergkUM {
  left: calc(50% - 50vw) !important;
  width: 100vw !important;
  max-width: none !important;
}

#module-04Enai2l4y > #unit-0H56ergkUM video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

[data-shared-site-component="footer"] {
  display: block;
}

/* These archived card grids contain an unconditional opacity:0 rule for the
   image layer. Keep unloaded/explicitly hidden states intact, but reveal the
   image once its source has loaded. The same four shared grid IDs are reused
   by the homepage process cards and product/options pages. */
#grid-f3swd883DL .base-image__img:not([data-hidden]):not(.opacity0),
#grid-C1Z32T1Ggx .base-image__img:not([data-hidden]):not(.opacity0),
#grid-ITmMgDGmLM .base-image__img:not([data-hidden]):not(.opacity0),
#grid-ImBhTDXsEH .base-image__img:not([data-hidden]):not(.opacity0) {
  opacity: 1 !important;
}

.mirror-carousel-button {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
  color: #222;
  font: 36px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}

.mirror-carousel-button-prev { left: 8px; }
.mirror-carousel-button-next { right: 8px; }
.mirror-carousel-button:disabled { opacity: .38; cursor: default; }
.mirror-carousel-button:not(:disabled):hover { background: #ff5a1f; color: #fff; }

/* Keep every horizontal carousel at its initial position; no arrow controls,
   drag, wheel scrolling, or autoplay-driven slide movement. */
.mirror-carousel-button,
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}
.swiper-container[direction="x"]:not(.mirror-home-cert-drag):not(.mirror-aboutus-production-gallery) {
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  scroll-behavior: auto !important;
}
.swiper-container[direction="x"]:not(.mirror-home-cert-drag):not(.mirror-aboutus-production-gallery) > .swiper-wrapper {
  transform: none !important;
  transition: none !important;
}
/* The About Us production gallery is a source-configured centered carousel;
   preserve its neighboring slides and native controls instead of freezing it. */
.swiper-container[direction="x"].mirror-aboutus-production-gallery {
  overflow: visible !important;
}
.mirror-aboutus-production-gallery .swiper-button-prev,
.mirror-aboutus-production-gallery .swiper-button-next {
  display: flex !important;
}
.swiper-container[direction="x"].mirror-home-cert-drag {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.swiper-container[direction="x"].mirror-home-cert-drag::-webkit-scrollbar { display: none; }
.swiper-container[direction="x"].mirror-home-cert-drag:active { cursor: grabbing; }

@media (max-width: 768px) {
  .mirror-carousel-button { width: 38px; height: 38px; font-size: 32px; }
}

.mirror-language-backdrop[hidden] { display: none !important; }
.mirror-language-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .52);
}
.mirror-language-dialog {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: min(80vh, 760px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .25);
  color: #222;
}
.mirror-language-header,
.mirror-language-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e8e8e8;
}
.mirror-language-header h2 { margin: 0; font-size: 20px; font-weight: 600; }
.mirror-language-close {
  border: 0;
  background: transparent;
  color: #666;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.mirror-language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  overflow: auto;
  padding: 18px 24px;
}
.mirror-language-options .unit-header-language__item a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
}
.mirror-language-options .unit-header-language__item a:hover,
.mirror-language-options .unit-header-language__item a:focus-visible { background: #f2f2f2; }
.mirror-language-options .unit-header-language__item--code { display: none !important; }
.mirror-language-options .unit-header-language__item--title { display: inline !important; }
.mirror-language-footer { justify-content: flex-start; border-top: 1px solid #e8e8e8; border-bottom: 0; color: #777; }
@media (max-width: 520px) {
  .mirror-language-options { grid-template-columns: 1fr; }
  .mirror-language-header, .mirror-language-footer { padding: 14px 18px; }
  .mirror-language-options { padding: 12px 18px; }
}

/* Match the source header's scrolled state and keep every nav label on one baseline. */
.header-fixed { background-color: #000 !important; }
.unit-header-nav__item-link { min-height: 24px; align-items: center; }

/* Keep the WhatsApp shortcut visually distinct from the inquiry/form launcher. */
.uh-whatsapp-fixed { bottom: calc(10% + 85px) !important; }
