/* Variant AJAX and native details expansion must grow the containing list row.
   NOVA otherwise retains the height measured before the variant was selected. */
.product-wrapper:has(.vapor-product-safety) {
    height: auto !important;
}

.vapor-product-safety {
    overflow-wrap: anywhere;
}

/* A narrow two-column mobile tile cannot keep label text comfortably readable. */
@media (max-width: 575.98px) {
    #product-list .product-wrapper:has(.vapor-product-safety) {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* NOVA's implicit form submit control is not a second purchase CTA above the
   label. Keep the intended hidden control hidden for verified product forms. */
form:has(.vapor-product-safety) > .btn-hidden-default {
    display: none !important;
}
