/* Functional defaults only. Public classes are documented in MIGRATION-0.18.67.txt. */
.fqr-product-options { font: inherit; min-width: 0; }
fieldset.fqr-product-options { border: 0; margin: 1rem 0; padding: 0; }
.fqr-product-options legend { float: none; width: auto; margin-bottom: .5rem; font: inherit; }
.fqr-options-list { display: flex; flex-wrap: wrap; gap: .75rem; }
.fqr-option { display: inline-flex; position: relative; cursor: pointer; margin: 0; }
.fqr-option__content { display: flex; flex-direction: column; gap: .3rem; padding: .6rem; border: 1px solid currentColor; border-radius: .25rem; }
.fqr-product-options .fqr-option > .fqr-option__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: 1; cursor: inherit; }
.fqr-option:has(.fqr-option__input:focus-visible) { outline: 2px solid currentColor; outline-offset: 3px; }
.fqr-option.is-selected .fqr-option__content,
.fqr-option:has(.fqr-option__input:checked) .fqr-option__content { outline: 2px solid currentColor; outline-offset: 1px; }
.fqr-option.is-disabled { opacity: .45; cursor: not-allowed; }
.fqr-option__swatch { display: block; width: 2rem; height: 2rem; border: 1px solid currentColor; }
.fqr-option__image { width: 3rem; height: 3rem; object-fit: contain; }
.fqr-option__title, .fqr-option__price, .fqr-option__description, .fqr-option__availability { display: block; }
.fqr-option__availability { font-size: .85em; }
.fqr-options-selected { display: block; margin-top: .4rem; }
/* Woo's .woocommerce div.product form.cart .variations select is more
   specific than the generic fallback; hide only our enhanced selectors. */
.fqr-product-options.is-enhanced > select,
form.cart .variations .fqr-product-options[data-fqr-attribute].is-enhanced > select { display: none; }
.fqr-product-total { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.fqr-product-total__amount { font-weight: 600; }
.fqr-options-message { margin: .5rem 0; }
.fqr-options-message:empty, .fqr-option__availability:empty { display: none; }

/* Layout is controlled by the site's CSS, without viewport breakpoints here. */
.fqr-option__body { min-width: 0; }
.fqr-option__price { display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; }
.fqr-option__price-regular { text-decoration: line-through; }
.fqr-option__media:empty, .fqr-option__description:empty, .fqr-option__price-current:empty,
.fqr-option__price-regular:empty, .fqr-option__saving:empty,
.fqr-option__price:not(:has(:not(:empty))) { display: none; }
