/* NETDOOR STOREFRONT FIXES v11 — load after the existing theme and product UI patches. */
.product-detail .detail-media {
  align-self: start !important;
  justify-self: center !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}
.product-detail .detail-media .gallery-main {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 420px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
.product-detail .detail-media .gallery-main #product-main-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}
.site-footer .fx-attribution {
  grid-column: 1 / -1;
  width: 100%;
  margin: 6px 0 0;
  padding: 0;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
  color: #8993a1;
}
.site-footer .fx-attribution a { color: inherit; }
.site-footer .fx-attribution a:hover,
.site-footer .fx-attribution a:focus-visible { color: #c2cad4; text-decoration: underline; }
.floating-chip.chip-a { display: inline-flex; align-items: center; gap: .35em; direction: rtl; }
.floating-chip.chip-a bdi { unicode-bidi: isolate; }

/* The official Enamad anchor is a grid item in some footer versions. Stop grid stretching. */
.site-footer a.nd-enamad-link,
.site-footer #enamad-badge,
.site-footer .footer-trust > a {
  display: inline-flex !important;
  position: static !important;
  inset: auto !important;
  justify-self: start !important;
  align-self: start !important;
  flex: 0 0 auto !important;
  width: fit-content !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: fit-content !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0 !important;
}
.site-footer a.nd-enamad-link::before,
.site-footer a.nd-enamad-link::after { content: none !important; }
.site-footer a.nd-enamad-link img,
.site-footer #enamad-badge img { display: block; max-width: 100%; height: auto; }
