/**
 * Design Builder WooPack Ultimate — Design Theme Ultimate compatibility.
 *
 * The theme styles the hover, focus and active states of every <button>
 * (border and "position: relative"). WooPack controls positioned by
 * WooPack keep their position, and bare WooPack buttons stay borderless.
 * Selectors match the theme's specificity (or one class more) so module
 * instance styles still win.
 */

.dbwu-carousel-arrow:is(:hover, :focus, :active),
.dbwu-carousel-playpause:is(:hover, :focus, :active),
.dbwu-lightbox-btn:is(:hover, :focus, :active),
.dbwu-gallery-arrow:is(:hover, :focus, :active),
.dbwu-qv-close:is(:hover, :focus, :active) {
	position: absolute;
}

button:where(.dbwu-reset-button):is(:hover, :focus, :active) {
	border-width: 0;
}

button:where(.dbwu-carousel-arrow, .dbwu-carousel-dot, .dbwu-carousel-playpause, .dbwu-lightbox-btn):is(:hover, :focus, :active) {
	border-width: 0;
}

/* Bordered WooPack controls keep their border. */
.dbwu-gallery button.dbwu-gallery-thumb:is(:hover, :focus, :active),
.dbwu-qv button.dbwu-qv-thumb:is(:hover, :focus, :active) {
	border-width: 2px;
}
