/*!
 Theme Name:     WheelWright 2026
 Theme URI:      http://wheelwright.local
 Description:    WheelWright 2026
 Author:         RW India
 Author URI:     
 Version:        1.0.0
*/

/* ==========================================================================
   Elementor Default 10px Padding & Gap Overrides
   ========================================================================== */
.elementor-element,
.elementor-element .elementor-widget-container,
.elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor-widget-wrap,
.elementor-widget-container,
.elementor-element.elementor-widget {
    padding: 0 !important;
}

.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-full_width > .elementor-container {
    padding-left: 0;
    padding-right: 0;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 0 !important;
}

.elementor-widget:not(:last-child) {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Brands Marquee Carousel Image Sizing Override
   ========================================================================== */
.brands-strip img,
.elementor-widget-wheelwright_brands_marquee img,
[data-brands-carousel] img {
    height: 3.75rem !important;
    max-height: 3.75rem !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
}

/* ==========================================================================
   Elementor Editor Overlap Fix (Only in Elementor Edit Screen)
   ========================================================================== */
body.elementor-editor-active .site-header,
body.elementor-editor-preview .site-header {
    position: relative !important;
    z-index: 10 !important;
    background-color: #000000 !important;
    background: #000000 !important;
}

body.elementor-editor-active #main-content,
body.elementor-editor-active main,
body.elementor-editor-active .elementor-edit-area,
body.elementor-editor-active .elementor-edit-area-active,
body.elementor-editor-active .elementor-section-wrap > .elementor-section:first-child,
body.elementor-editor-active .elementor-top-section:first-child,
body.elementor-editor-active .elementor > .elementor-section:first-child,
body.elementor-editor-active .elementor-custom-homepage-content > .elementor:first-child,
body.elementor-editor-preview #main-content,
body.elementor-editor-preview main,
body.elementor-editor-preview .elementor-edit-area,
body.elementor-editor-preview .elementor-edit-area-active,
body.elementor-editor-preview .elementor-section-wrap > .elementor-section:first-child,
body.elementor-editor-preview .elementor-top-section:first-child,
body.elementor-editor-preview .elementor > .elementor-section:first-child,
body.elementor-editor-preview .elementor-custom-homepage-content > .elementor:first-child {
    padding-top: 10px !important;
}

body.elementor-editor-active .elementor-editor-section-settings,
body.elementor-editor-active .elementor-editor-element-settings,
body.elementor-editor-preview .elementor-editor-section-settings,
body.elementor-editor-preview .elementor-editor-element-settings {
    z-index: 99999 !important;
}

/* ==========================================================================
   Line Clamp Utilities
   ========================================================================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}