/**
 * PrestaChamps
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to a Proprietary Commercial License.
 * The license is bundled with this module and governs its use.
 * Unauthorized distribution, resale, or sharing of this code is prohibited.
 *
 * @author    PrestaChamps <support@prestachamps.com>
 * @copyright PrestaChamps
 * @license   Proprietary
 */

.product__variants .pch-vai-btn {
  gap: var(--pch-vai-img-gap, 0.25rem);
}

/* aspect ratio comes from the img's own width/height attributes */
.product__variants .pch-vai-img {
  height: auto;
  max-width: var(--pch-vai-size, 64px);
}

/* out-of-stock values: the disabled input alone drives the effect */
.product__variants .btn-check:disabled + .btn .pch-vai-img,
.product__variants .input-radio:disabled ~ .pch-vai-img {
  filter: grayscale(1);
  opacity: 0.55;
}
