body:not(.elementor-editor-active) button:not(.blackvue-icon-button):not(.blackvue-mobile-action):not(.blackvue-mobile-menu__toggle):not(.blackvue-drawer__close):not(.blackvue-account-guest__switch):not(.blackvue-cart-quantity__button):not(.blackvue-cart-remove):not(.blackvue-cart-cross-sell__button):not(.blackvue-shop-product-card__usp-button):not(.blackvue-usp-modal__close):not(.blackvue-shop-filter-trigger):not(.blackvue-shop-filter-drawer__close),
body:not(.elementor-editor-active) .button,
body:not(.elementor-editor-active) input[type="button"],
body:not(.elementor-editor-active) input[type="submit"],
.elementor-button,
.elementor-widget-button a.elementor-button,
.blackvue-button {
	align-items: center;
	background: var(--blackvue-gradient-a);
	border: 0;
	border-radius: var(--blackvue-radius-pill);
	box-shadow: 0 14px 34px rgba(5, 126, 248, 0.25);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 0.9rem 1.55rem;
	text-decoration: none;
	transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.elementor-align-justify .elementor-button,
.elementor-widescreen-align-justify .elementor-button,
.elementor-laptop-align-justify .elementor-button,
.elementor-tablet_extra-align-justify .elementor-button,
.elementor-tablet-align-justify .elementor-button,
.elementor-mobile_extra-align-justify .elementor-button,
.elementor-mobile-align-justify .elementor-button {
	display: flex;
	width: 100%;
}

.e-con .elementor-widget-button.elementor-align-justify,
.e-con .elementor-widget-button.elementor-widescreen-align-justify,
.e-con .elementor-widget-button.elementor-laptop-align-justify,
.e-con .elementor-widget-button.elementor-tablet_extra-align-justify,
.e-con .elementor-widget-button.elementor-tablet-align-justify,
.e-con .elementor-widget-button.elementor-mobile_extra-align-justify,
.e-con .elementor-widget-button.elementor-mobile-align-justify {
	width: 100%;
}

body:not(.elementor-editor-active) button:not(.blackvue-icon-button):not(.blackvue-mobile-action):not(.blackvue-mobile-menu__toggle):not(.blackvue-drawer__close):not(.blackvue-account-guest__switch):not(.blackvue-cart-quantity__button):not(.blackvue-cart-remove):not(.blackvue-cart-cross-sell__button):not(.blackvue-shop-product-card__usp-button):not(.blackvue-usp-modal__close):not(.blackvue-shop-filter-trigger):not(.blackvue-shop-filter-drawer__close):hover,
body:not(.elementor-editor-active) .button:hover,
body:not(.elementor-editor-active) .button:visited,
body:not(.elementor-editor-active) .button:active,
body:not(.elementor-editor-active) input[type="button"]:hover,
body:not(.elementor-editor-active) input[type="submit"]:hover,
.elementor-button:hover,
.elementor-button:visited,
.elementor-button:active,
.blackvue-button:hover,
.blackvue-button:visited,
.blackvue-button:active,
body:not(.elementor-editor-active) button:not(.blackvue-icon-button):not(.blackvue-mobile-action):not(.blackvue-mobile-menu__toggle):not(.blackvue-drawer__close):not(.blackvue-account-guest__switch):not(.blackvue-cart-quantity__button):not(.blackvue-cart-remove):not(.blackvue-cart-cross-sell__button):not(.blackvue-shop-product-card__usp-button):not(.blackvue-usp-modal__close):not(.blackvue-shop-filter-trigger):not(.blackvue-shop-filter-drawer__close):focus,
body:not(.elementor-editor-active) .button:focus,
body:not(.elementor-editor-active) input[type="button"]:focus,
body:not(.elementor-editor-active) input[type="submit"]:focus,
.elementor-button:focus,
.blackvue-button:focus {
	color: #ffffff;
	opacity: 0.92;
	text-decoration: none;
	transform: translateY(-1px);
}

.blackvue-button--a,
.button-style-a,
.elementor-button.button-style-a {
	background: var(--blackvue-gradient-a);
	color: #ffffff;
}

.blackvue-button--b,
.button-style-b,
.elementor-button.button-style-b {
	background: var(--blackvue-gradient-b);
	color: #ffffff;
}

.blackvue-button--c,
.button-style-c,
.elementor-button.button-style-c {
	background: var(--blackvue-gradient-c);
	color: #121212;
}

.blackvue-button--d,
.button-style-d,
.elementor-button.button-style-d {
	background: var(--blackvue-gradient-d);
	color: #121212;
}

.blackvue-button--c:hover,
.button-style-c:hover,
.elementor-button.button-style-c:hover,
.blackvue-button--d:hover,
.button-style-d:hover,
.elementor-button.button-style-d:hover {
	color: #121212;
}

.blackvue-button.is-disabled,
.blackvue-button.is-disabled:hover,
.blackvue-button.is-disabled:focus {
	cursor: not-allowed;
	opacity: 0.42;
	pointer-events: none;
	transform: none;
}

.blackvue-badge,
.elementor-widget .blackvue-badge {
	background: var(--blackvue-gradient-a);
	border-radius: var(--blackvue-radius-pill);
	color: #ffffff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	padding: 0.45rem 0.8rem;
	text-transform: uppercase;
}

.blackvue-notice,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 0;
	border-radius: var(--blackvue-radius);
	color: #121212;
	padding: 1rem 1.25rem;
}

.blackvue-notice--info,
.woocommerce-info,
.woocommerce-message {
	background: var(--blackvue-gradient-a);
	color: #ffffff;
}

.blackvue-notice--success {
	background: var(--blackvue-color-success);
	color: var(--blackvue-color-success-ink);
}

.blackvue-notice--warning {
	background: var(--blackvue-color-warning);
	color: var(--blackvue-color-warning-ink);
}

.blackvue-notice--error,
.woocommerce-error {
	background: var(--blackvue-color-error);
	color: var(--blackvue-color-error-ink);
}

@media (max-width: 767px) {
	body:not(.elementor-editor-active) button:not(.blackvue-icon-button):not(.blackvue-mobile-action):not(.blackvue-mobile-menu__toggle):not(.blackvue-drawer__close):not(.blackvue-account-guest__switch):not(.blackvue-cart-quantity__button):not(.blackvue-cart-remove):not(.blackvue-cart-cross-sell__button):not(.blackvue-shop-product-card__usp-button):not(.blackvue-usp-modal__close):not(.blackvue-shop-filter-trigger):not(.blackvue-shop-filter-drawer__close),
	body:not(.elementor-editor-active) .button,
	body:not(.elementor-editor-active) input[type="button"],
	body:not(.elementor-editor-active) input[type="submit"],
	.elementor-button,
	.blackvue-button {
		min-height: 46px;
		padding-inline: 1.25rem;
	}
}

/* BlackVue Viewer page: the feature sections use a fixed 250px Elementor margin that pushes them off-screen below desktop. */
@media (max-width: 1024px) {
	.elementor.elementor-1848 > .e-con:is(.elementor-element-259aeda, .elementor-element-958729f, .elementor-element-4965540, .elementor-element-ecef284) {
		--margin-top: clamp(48px, 10vw, 96px);
		--margin-bottom: clamp(48px, 10vw, 96px);
		--margin-left: auto;
		--margin-right: auto;
		--width: 100%;
		max-width: 100%;
		padding-inline: var(--blackvue-content-gutter);
	}

	.elementor.elementor-1848 > .e-con:is(.elementor-element-259aeda, .elementor-element-958729f, .elementor-element-4965540, .elementor-element-ecef284) > .e-con {
		--width: 100%;
		max-width: 100%;
	}
}

/* Dashcam rules per country: swipeable table with a sticky country column (same pattern as the compare table). */
@media (max-width: 767px) {
	.elementor-widget:has(> .dashcam-table) {
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-color: rgba(73, 191, 223, 0.8) rgba(255, 255, 255, 0.08);
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.elementor-widget > .dashcam-table {
		font-size: 0.9rem;
		margin-bottom: 0.75rem;
		min-width: 640px;
		overflow: clip;
	}

	.dashcam-table th,
	.dashcam-table td {
		padding: 0.7rem 0.8rem;
	}

	.dashcam-table th:last-child,
	.dashcam-table td:last-child {
		min-width: 240px;
	}

	.dashcam-table th:first-child,
	.dashcam-table td:first-child {
		box-shadow: 6px 0 10px -6px rgba(0, 0, 0, 0.7);
		left: 0;
		position: sticky;
		z-index: 2;
	}

	.dashcam-table tbody td:first-child {
		background-color: #161616;
	}

	/* The header gradient lives on <thead>; give the sticky header cell its own opaque start colour. */
	.dashcam-table thead th:first-child {
		background: #057ef8;
	}
}
