/**
 * Demetz - Prescription info panel
 *
 * @author    JFO
 * @copyright 2026 Opal
 * @license   Proprietary - All rights reserved
 */

/*
 * F2 - clickable feature values in "Product details" (#product-details dl.data-sheet dd.value), buttons created by
 * demetzrxinfo-details-link.js. The theme styles every <button>: reset explicitly, keep the text look of the list.
 */
button.drx-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-transform: none;
  vertical-align: baseline;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button.drx-value:hover,
button.drx-value:focus,
button.drx-value:active {
  border: 0;
  background: none;
  box-shadow: none;
  color: #000;
  text-decoration: none;
}

button.drx-value:focus {
  outline: none;
}

button.drx-value:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

button.drx-value .drx-value__text {
  line-height: inherit;
}

button.drx-value .drx-value__icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

button.drx-value .drx-value__sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* The theme strokes every svg (vinova_salehub theme.css: svg {stroke: #000}): these icons are fills */
.drx-value svg {
  stroke: none;
}
