/*
Theme Name: CDrive Elementor
Theme URI: https://example.com/
Author: Live Solutions
Description: Custom Elementor Pro-ready WordPress theme converted from the supplied CDrive/Prodrive HTML template.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cdrive-elementor
*/

/* Full-bleed page reset: prevents browser/theme/Elementor wrappers from adding the small outer gap. */
html,
body {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	max-width: 100%;
}

body {
	overflow-x: hidden;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

#page,
#primary,
.site,
.site-main,
.site-content,
.elementor,
.elementor-page,
.elementor-location-header,
.elementor-location-footer {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100%;
	max-width: 100%;
}

#primary,
.site-main {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Elementor top-level containers remain full width; inner design padding is left to the original CDrive markup. */
.elementor > .e-con,
.elementor > .elementor-element.e-con,
.elementor > .elementor-section {
	width: 100%;
	max-width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

img { max-width: 100%; height: auto; }
.elementor-page .layout-theme { min-height: 100vh; }
.elementor-page .elementor-widget-container img { max-width: 100%; }

/* Revolution Slider full-bleed safety rules. */
.tp-banner,
.rev_slider_wrapper,
.rev_slider {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.rev_slider_wrapper {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Legacy template compatibility. Elementor controls layout; these classes preserve the original visual language. */
