/**
 * Site-wide colour fixes.
 *
 * The storefront uses a dark palette (#111416 / #c9f227), but parts of the
 * site still come from the original light template:
 *
 * 1. The header was white on inner pages, which hides the light logo.
 * 2. The homepage "Featured Products" grid sits on a dark section, but the
 *    product titles and prices still use the theme's dark text colour.
 * 3. The four trust badges on the homepage still carry the template's
 *    placeholder copy and dark template icons.
 * 4. The homepage hero and category tiles point at 1.1-2.4 MB JPEGs
 *    (about 8.9 MB in total), which keeps the tab spinner running long
 *    after the text is visible.
 *
 * The homepage keeps its transparent header (it already sits on the dark
 * hero and looks right), so every header rule below is scoped to
 * `body:not(.home)`.
 */

/* -------------------------------------------------------------------------
 * 1. Header: a solid dark bar on inner pages.
 * ---------------------------------------------------------------------- */

body:not(.home) #masthead,
body:not(.home) .ehf-header > #masthead,
body:not(.home) header.site-header,
body:not(.home) .main-header-bar,
body:not(.home) .ast-primary-header-bar,
body:not(.home) .ast-above-header-bar,
body:not(.home) .ast-below-header-bar,
body:not(.home) .ast-mobile-header-wrap {
	background-color: #111416 !important;
	border-color: rgba(255, 255, 255, 0.09) !important;
}

/* Let the dark masthead show through the Elementor / HFE wrappers that the
   header template is built from. Structural elements only: buttons and
   form controls keep their own colours. */
body:not(.home) #masthead .elementor,
body:not(.home) #masthead .elementor-section,
body:not(.home) #masthead .elementor-section > .elementor-container,
body:not(.home) #masthead .elementor-column,
body:not(.home) #masthead .elementor-column-wrap,
body:not(.home) #masthead .e-con,
body:not(.home) #masthead .e-con-inner {
	background-color: transparent !important;
	border-color: transparent !important;
}

/* Astra places the transparent header absolutely over the page on desktop.
   Off the homepage that would put the dark bar on top of the content. */
body:not(.home) #masthead {
	position: relative !important;
	left: auto !important;
	right: auto !important;
}

/* Navigation, account and cart links. Buttons keep their own styling. */
body:not(.home) #masthead a:not(.button):not(.elementor-button):not(.ast-custom-button):not(.elride-rent-button),
body:not(.home) #masthead .menu-link,
body:not(.home) #masthead .elementor-item,
body:not(.home) #masthead .ast-menu-toggle,
body:not(.home) #masthead .ast-builder-menu a,
body:not(.home) #masthead .site-title a,
body:not(.home) #masthead .site-title a:visited,
body:not(.home) #masthead .site-description {
	color: #f3f6ee !important;
}

body:not(.home) #masthead a:not(.button):not(.elementor-button):not(.ast-custom-button):not(.elride-rent-button):hover,
body:not(.home) #masthead .main-header-menu .menu-item:hover > .menu-link,
body:not(.home) #masthead .main-header-menu .current-menu-item > .menu-link,
body:not(.home) #masthead .main-header-menu .current-menu-ancestor > .menu-link,
body:not(.home) #masthead .elementor-nav-menu a:hover,
body:not(.home) #masthead .elementor-item:hover,
body:not(.home) #masthead .elementor-item.elementor-item-active {
	color: #c9f227 !important;
}

/* Icons (search, cart, mobile toggle) follow the light link colour. */
body:not(.home) #masthead svg {
	fill: currentColor;
}

body:not(.home) #masthead .ast-menu-toggle,
body:not(.home) #masthead .menu-toggle,
body:not(.home) #masthead .ast-mobile-menu-buttons .ast-button-wrap,
body:not(.home) #masthead .ast-builder-menu-toggle-icon {
	color: #f3f6ee !important;
	border-color: rgba(255, 255, 255, 0.24) !important;
}

/* Dropdowns and mobile panels were white, which would hide the new light
   link colour, so they get the same dark surface. */
body:not(.home) #masthead .sub-menu,
body:not(.home) #masthead .elementor-nav-menu--dropdown,
body:not(.home) #masthead .ast-mobile-header-content,
body:not(.home) #masthead .ast-mobile-popup-content,
body:not(.home) .ast-mobile-header-content,
body:not(.home) .ast-mobile-popup-content {
	background-color: #111416 !important;
	border-color: rgba(255, 255, 255, 0.1) !important;
}

body:not(.home) #masthead .sub-menu a,
body:not(.home) #masthead .elementor-nav-menu--dropdown a {
	color: #f3f6ee !important;
}

body:not(.home) #masthead .sub-menu a:hover,
body:not(.home) #masthead .elementor-nav-menu--dropdown a:hover {
	background-color: #1b2023 !important;
	color: #c9f227 !important;
}

/* Cart widgets (Astra and HFE) inherited the theme's black cart colour and
   therefore disappeared on the new dark bar. */
body:not(.home) #masthead .ast-site-header-cart .ast-cart-menu-wrap,
body:not(.home) #masthead .ast-site-header-cart .ast-addon-cart-wrap,
body:not(.home) #masthead .ast-site-header-cart .ast-woo-header-cart-info-wrap,
body:not(.home) #masthead .ast-site-header-cart .cart-container,
body:not(.home) #masthead .ast-site-header-cart i.astra-icon,
body:not(.home) #masthead .hfe-cart-container,
body:not(.home) #masthead .hfe-cart-menu-wrap-default,
body:not(.home) #masthead .hfe-cart-menu-wrap-custom,
body:not(.home) #masthead .hfe-cart-count,
body:not(.home) #masthead .hfe-cart-icon,
body:not(.home) #masthead .hfe-icon,
body:not(.home) #masthead .elementor-menu-cart__toggle_button,
body:not(.home) #masthead .elementor-menu-cart__toggle_button * {
	color: #f3f6ee !important;
}

/* Count badge: lime disc with dark digits, readable on the dark bar. */
body:not(.home) #masthead .ast-site-header-cart i.astra-icon:after,
body:not(.home) #masthead .ast-site-header-cart .ast-addon-cart-wrap .ast-icon-shopping-cart:after,
body:not(.home) #masthead .hfe-cart-count {
	background-color: #c9f227 !important;
	border-color: #c9f227 !important;
	color: #111416 !important;
}

body:not(.home) #masthead .hfe-cart-count:after {
	border-color: #c9f227 !important;
}

body:not(.home) #masthead .hfe-icon svg,
body:not(.home) #masthead .ast-site-header-cart svg,
body:not(.home) #masthead .elementor-menu-cart__toggle_button svg {
	fill: currentColor !important;
	stroke: currentColor;
}

/* -------------------------------------------------------------------------
 * 2. Homepage "Featured Products" grid (Elementor post 4387).
 *
 * The section has a dark background, while the WooCommerce loop still uses
 * the theme's dark title and price colours.
 * ---------------------------------------------------------------------- */

.elementor-4387 .elementor-element-1d45057 .woocommerce-loop-product__title,
.elementor-4387 .elementor-element-1d45057 .woocommerce-loop-product__title a,
.elementor-4387 .elementor-element-f628c74 .woocommerce-loop-product__title,
.elementor-4387 .elementor-element-f628c74 .woocommerce-loop-product__title a {
	color: #f4f6f0 !important;
}

.elementor-4387 .elementor-element-1d45057 li.product:hover .woocommerce-loop-product__title,
.elementor-4387 .elementor-element-1d45057 .woocommerce-loop-product__title a:hover,
.elementor-4387 .elementor-element-f628c74 li.product:hover .woocommerce-loop-product__title,
.elementor-4387 .elementor-element-f628c74 .woocommerce-loop-product__title a:hover {
	color: #c9f227 !important;
}

.elementor-4387 .elementor-element-1d45057 li.product .price,
.elementor-4387 .elementor-element-f628c74 li.product .price {
	color: #e3e8dd !important;
}

.elementor-4387 .elementor-element-1d45057 li.product .price del,
.elementor-4387 .elementor-element-1d45057 li.product .price del .amount,
.elementor-4387 .elementor-element-f628c74 li.product .price del,
.elementor-4387 .elementor-element-f628c74 li.product .price del .amount {
	color: #99a291 !important;
	opacity: 1;
}

.elementor-4387 .elementor-element-1d45057 li.product .price ins,
.elementor-4387 .elementor-element-1d45057 li.product .price ins .amount,
.elementor-4387 .elementor-element-f628c74 li.product .price ins,
.elementor-4387 .elementor-element-f628c74 li.product .price ins .amount {
	background: transparent !important;
	color: #c9f227 !important;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
 * 3. Homepage trust badges (the four image-box widgets).
 *
 * The template copy and icons are replaced by the plugin (PHP + JS); these
 * rules make sure the replacement reads well on the dark section, and turn
 * the old dark template icons white if the replacement did not run.
 * ---------------------------------------------------------------------- */

.elementor-4387 .elementor-element-f90815e .elementor-image-box-title,
.elementor-4387 .elementor-element-ebae286 .elementor-image-box-title,
.elementor-4387 .elementor-element-ffca96f .elementor-image-box-title,
.elementor-4387 .elementor-element-1c8b07d .elementor-image-box-title {
	color: #f4f6f0 !important;
}

.elementor-4387 .elementor-element-f90815e .elementor-image-box-description,
.elementor-4387 .elementor-element-ebae286 .elementor-image-box-description,
.elementor-4387 .elementor-element-ffca96f .elementor-image-box-description,
.elementor-4387 .elementor-element-1c8b07d .elementor-image-box-description {
	color: #b8c1b3 !important;
}

.elementor-4387 .elementor-element-f90815e .elementor-image-box-img img,
.elementor-4387 .elementor-element-ebae286 .elementor-image-box-img img,
.elementor-4387 .elementor-element-ffca96f .elementor-image-box-img img,
.elementor-4387 .elementor-element-1c8b07d .elementor-image-box-img img {
	width: 96px;
	height: 96px;
	max-width: 100%;
	object-fit: contain;
}

/* Fallback for the original template icons (dark artwork on a dark page). */
.elementor-4387 .elementor-element-f90815e .elementor-image-box-img img:not(.elride-badge-icon),
.elementor-4387 .elementor-element-ebae286 .elementor-image-box-img img:not(.elride-badge-icon),
.elementor-4387 .elementor-element-ffca96f .elementor-image-box-img img:not(.elride-badge-icon),
.elementor-4387 .elementor-element-1c8b07d .elementor-image-box-img img:not(.elride-badge-icon) {
	filter: brightness(0) invert(1) !important;
	opacity: 0.92;
}

/* The plugin's own icons are already light; never filter them. */
.elementor-4387 .elride-badge-icon {
	filter: none !important;
	opacity: 1;
}

/* -------------------------------------------------------------------------
 * 4. Homepage hero and category tile backgrounds (Elementor post 4387).
 *
 * The template ships 1.1-2.4 MB JPEGs for these five areas: 8.9 MB of
 * images that are fetched with low priority, so the page looks finished
 * while the browser still downloads them and the tab keeps spinning.
 *
 * The plugin carries resized, re-compressed copies instead: about 1.2 MB
 * on desktop and 0.4 MB on small screens. The selectors repeat Elementor's
 * own (with `body.home`), so they win on specificity and the result does not
 * depend on stylesheet order. `background-size` and `background-position`
 * come from Elementor and are left untouched.
 * ---------------------------------------------------------------------- */

body.home .elementor-4387 .elementor-element.elementor-element-aef5fd5:not(.elementor-motion-effects-element-type-background),
body.home .elementor-4387 .elementor-element.elementor-element-aef5fd5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url('../img/hero/hero-banner-1.jpg');
}

body.home .elementor-4387 .elementor-element.elementor-element-957d0fb:not(.elementor-motion-effects-element-type-background),
body.home .elementor-4387 .elementor-element.elementor-element-957d0fb > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url('../img/hero/hero-banner-2.jpg');
}

body.home .elementor-4387 .elementor-element.elementor-element-3e0bc12:not(.elementor-motion-effects-element-type-background),
body.home .elementor-4387 .elementor-element.elementor-element-3e0bc12 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url('../img/hero/hero-lo26plus2.jpg');
}

body.home .elementor-4387 .elementor-element.elementor-element-d6c86e9:not(.elementor-motion-effects-element-type-background),
body.home .elementor-4387 .elementor-element.elementor-element-d6c86e9 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url('../img/hero/hero-lo26plus.jpg');
}

body.home .elementor-4387 .elementor-element.elementor-element-857ac25:not(.elementor-motion-effects-element-type-background),
body.home .elementor-4387 .elementor-element.elementor-element-857ac25 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url('../img/hero/hero-foldable.jpg');
}

/* Phones and small tablets: the same artwork at about a third of the bytes. */
@media (max-width: 1024px) {
	body.home .elementor-4387 .elementor-element.elementor-element-aef5fd5:not(.elementor-motion-effects-element-type-background),
	body.home .elementor-4387 .elementor-element.elementor-element-aef5fd5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
		background-image: url('../img/hero/hero-banner-1-sm.jpg');
	}

	body.home .elementor-4387 .elementor-element.elementor-element-957d0fb:not(.elementor-motion-effects-element-type-background),
	body.home .elementor-4387 .elementor-element.elementor-element-957d0fb > .elementor-motion-effects-container > .elementor-motion-effects-layer {
		background-image: url('../img/hero/hero-banner-2-sm.jpg');
	}

	body.home .elementor-4387 .elementor-element.elementor-element-3e0bc12:not(.elementor-motion-effects-element-type-background),
	body.home .elementor-4387 .elementor-element.elementor-element-3e0bc12 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
		background-image: url('../img/hero/hero-lo26plus2-sm.jpg');
	}

	body.home .elementor-4387 .elementor-element.elementor-element-d6c86e9:not(.elementor-motion-effects-element-type-background),
	body.home .elementor-4387 .elementor-element.elementor-element-d6c86e9 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
		background-image: url('../img/hero/hero-lo26plus-sm.jpg');
	}

	body.home .elementor-4387 .elementor-element.elementor-element-857ac25:not(.elementor-motion-effects-element-type-background),
	body.home .elementor-4387 .elementor-element.elementor-element-857ac25 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
		background-image: url('../img/hero/hero-foldable-sm.jpg');
	}
}

/* -------------------------------------------------------------------------
 * 5. Footer (Elementor template 1165).
 *
 * The fourth footer column is an empty clothing-template block: a second
 * "For Him" heading, an Elementor placeholder image and a Play Store badge
 * for an app that does not exist. It is hidden, and the three real columns
 * (Explore / Shop by type / Popular e-bikes) share the row.
 * ---------------------------------------------------------------------- */

.elementor-1165 .elementor-element-dee9afb {
	display: none !important;
}

@media (min-width: 768px) {
	.elementor-1165 .elementor-element-e74ede8 > .elementor-container > .elementor-column {
		width: 33.3333% !important;
	}
}

@media (max-width: 767px) {
	.elementor-1165 .elementor-element-e74ede8 > .elementor-container > .elementor-column {
		width: 50% !important;
	}

	.elementor-1165 .elementor-element-e74ede8 > .elementor-container > .elementor-column.elementor-element-c6c7e3a {
		width: 100% !important;
	}
}

/* -------------------------------------------------------------------------
 * 6. Header menu spacing.
 *
 * The bike menu has five items (Shop / City e-bikes / Mountain e-bikes /
 * Fat-tyre e-bikes / Rentals) where the template had four short ones, and
 * it sits next to the logo. On smaller desktops the default 1em padding
 * pushes the last item onto a second row; a tighter gap keeps it on one
 * line without shrinking below comfortable reading size. Wider screens
 * keep the original spacing.
 * ---------------------------------------------------------------------- */

@media (min-width: 922px) and (max-width: 1280px) {
	body .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
		padding-left: 8px !important;
		padding-right: 8px !important;
		font-size: 13.5px !important;
	}
}
