/*
 Theme Name:   Backhoee Child
 Theme URI:    http://themes.webdevia.com/backhoe-heavy-construction-equipment-rentals-machinery-wordpress-theme/
 Description:  Backhoe Child Theme
 Author:       Mymoun
 Author URI:   http://www.webdevia.com/
 Template:     backhoe
 Version:      1.0.0
 License: Envato
 License URI: https://themeforest.net/licenses
 Tags:         two-columns, custom-background, threaded-comments, translation-ready, custom-menu
 Text Domain:  backhoe
*/

header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}
.brands_form form ul li .select2.select2-container {
  min-width: auto !important;
 }
.wc-block-components-radio-control__secondary-label {
	display: none;
}
li.isotope-item {
width: 100% !important;
  display: flex;
  justify-content: center;
}
.wc-block-components-totals-item__value strong {
  display: none;
}
.list-addons__addon {
	align-items: baseline;
}
.list-addons__addon__label {
	display: flex;
	flex-direction: row;
	align-items: first baseline;
	gap: 12px;
}
.flatpickr-calendar.static {
	right: 30px;
}
.wp-block-webdevia-rental-add-to-card__form {
	gap: 0px !important;
}
.wc-forward {
	padding: 20px !important;
}
.hidden-cart {
	z-index: 9999 !important;
}
.hero_section, .hero_section * {
  overflow: visible !important;
}
.vc_single_image-wrapper:after {
  display: none !important;
}
.site-desktop-title {
display: flex;
  align-items: center;
}
.site-navigation {
    width: 100%;
}

.logo-wrapper > a:nth-child(1) > img:nth-child(1) {
	height: 40px;
	}
.select2-selection {
	align-items: center !important;
	display: flex !important;
	}
#menu-primary-menu {
	justify-content: flex-end !important;
}
.bg-parallax-text div {
  display: none !important;;
}

/* iOS scrolling fixes */
* {
	-webkit-overflow-scrolling: touch;
}

/* Fix for iOS momentum scrolling */
.ios-scroll-fix {
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* Fix for fixed positioned elements on iOS */
.fixed-element {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Prevent iOS zoom on input focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
	font-size: 16px;
	-webkit-appearance: none;
	border-radius: 0;
}

/* Fix for iOS touch scrolling in containers */
.scroll-container {
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* Additional iOS fixes */
.ios-device {
	-webkit-overflow-scrolling: touch;
}

/* Fix for iOS Safari address bar issues */
.ios-device body {
	min-height: 100vh;
	min-height: calc(var(--vh, 1vh) * 100);
}

/* Fix for iOS scroll momentum */
.ios-device * {
	-webkit-overflow-scrolling: touch;
}

/* Fix for iOS fixed positioning */
.ios-device .top-bar-container.sticky.fixed {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Fix for iOS modal/overlay scrolling */
.ios-device .reveal-overlay {
	-webkit-overflow-scrolling: touch;
	overflow-y: auto;
}

/* Fix for iOS form elements */
.ios-device input,
.ios-device textarea,
.ios-device select {
	-webkit-appearance: none;
	border-radius: 0;
	font-size: 16px;
}

/* Fix for iOS touch targets */
.ios-device .btn,
.ios-device button,
.ios-device a {
	min-height: 44px;
	min-width: 44px;
	-webkit-tap-highlight-color: transparent;
}

/* Fix for iOS scroll containers */
.ios-device .swiper-container,
.ios-device .slick-slider {
	-webkit-overflow-scrolling: touch;
}

/* Prevent iOS bounce on overscroll */
.prevent-bounce {
	overscroll-behavior: none;
	-webkit-overflow-scrolling: touch;
}

/* iOS scroll snapback fixes */
.ios-device {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: none;
}

.ios-device .has-parallax,
.ios-device .bg-parallax-text {
	transform: none !important;
	will-change: auto !important;
}

.ios-device body {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: none;
}

/* Disable smooth scroll on iOS */
.ios-device * {
	scroll-behavior: auto !important;
}

/* Fix for scroll-linked positioning effects */
.ios-device .fixed-element {
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

/* Mobile Layout: Move sidebar after titlebar */
@media screen and (max-width: 63.9375em) {
    /* Override the main theme's mobile layout */
    .sidebar {
        order: 1 !important;  /* Sidebar appears first on mobile (after titlebar) */
        padding: 20px 15px !important;
        margin: 0 15px !important;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 20px !important;
    }
    
    .main-content {
        order: 2 !important;  /* Main content appears second on mobile */
        flex: 0 0 calc(100% - 30px) !important;
        margin: 0 15px !important;
    }
#spaces-main {
	padding-top: 55px;
}
}

