/* Scoped corrections for the Product-Detail: Header content block.
   The additional .btn class in the template intentionally excludes the shop link
   from global flowing-text link rules that underline normal text links. */

/*
 * Right-hand action column.
 * Shop button and optional Hilfsmittelnummer use the same width.
 */
.product-detail-gallery-header-content-block .product-detail-gallery-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  width: max-content;
  max-width: 100%;
  gap: 4px;
}

.product-detail-gallery-header-content-block a.product-detail-shop-button,
.product-detail-gallery-header-content-block a.product-detail-shop-button.btn,
.product-detail-gallery-header-content-block a.product-detail-shop-button:link,
.product-detail-gallery-header-content-block a.product-detail-shop-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 10px;
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 8px 20px;
  background: #fdc815 !important;
  border: 1px solid #fdc815 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-radius: 0 !important;
  box-shadow: none;
}

.product-detail-gallery-header-content-block a.product-detail-shop-button span,
.product-detail-gallery-header-content-block a.product-detail-shop-button span::before,
.product-detail-gallery-header-content-block a.product-detail-shop-button span::after {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.product-detail-gallery-header-content-block a.product-detail-shop-button:hover,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus-visible,
.product-detail-gallery-header-content-block a.product-detail-shop-button.btn:hover,
.product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus,
.product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus-visible {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-radius: 0 !important;
  outline: none;
}

.product-detail-gallery-header-content-block a.product-detail-shop-button:hover span,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus span,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus-visible span {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.product-detail-gallery-header-content-block .product-detail-shop-icon path {
  stroke: currentColor !important;
}

/*
 * Hilfsmittelnummer.
 * The markup itself is only rendered in the German default language.
 */
.product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 4px 20px 4px 16px;
  background: #f5f5f5;
  color: #000;
  text-align: left;
}

.product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer-label,
.product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer-value {
  display: block;
  color: inherit;
  font-weight: 400;
}

.product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer-label {
  margin-bottom: 2px;
  font-size: 11px;
  line-height: 1;
}

.product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer-value {
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button.btn,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button:link,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button:visited {
  background: #fff !important;
  border-color: #000 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button:hover,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button:focus,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button:focus-visible,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:hover,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus,
body.theme-mono-light .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus-visible {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.theme-mono-light .product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button.btn,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button:link,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button:visited {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button:hover,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button:focus,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button:focus-visible,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:hover,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus,
body.theme-mono-dark .product-detail-gallery-header-content-block a.product-detail-shop-button.btn:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

body.theme-mono-dark .product-detail-gallery-header-content-block .product-detail-hilfsmittelnummer {
  background: #000;
  border: 1px solid #fff;
  color: #fff;
}

.product-detail-gallery-header-content-block a.product-detail-shop-button,
.product-detail-gallery-header-content-block a.product-detail-shop-button.btn,
.product-detail-gallery-header-content-block a.product-detail-shop-button:hover,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus,
.product-detail-gallery-header-content-block a.product-detail-shop-button:focus-visible {
  border-radius: 0 !important;
}

@media (max-width: 767.98px) {
  .product-detail-gallery-header-content-block .product-detail-gallery-actions {
    justify-self: start;
  }
}