/*
Theme Name: Medilazar Child
Theme URI: https://biosunline.hype.ro/
Description: Child theme for Medilazar — Biosunline Home 5 (official import + real catalog).
Author: Biosunline
Template: medilazar
Version: 1.5.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medilazar-child
*/

/*
 * Demo Home 5 content width is 1350px on desktop.
 * Apply only above Elementor tablet breakpoint (1024px) so tablet/mobile
 * keep the theme's native responsive containers.
 */
@media (min-width: 1025px) {
	.container,
	#content {
		max-width: 1350px !important;
	}

	.site-header .elementor-25785 .elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 1350px;
		margin-left: auto;
		margin-right: auto;
	}

	.elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 1290px;
	}
}

/* Full-bleed header background like demo (theme wraps builder in .container) */
.site-header > .container {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Force Home 5 header teal (Elementor CSS selector sometimes fails to paint) */
.elementor-25785 .elementor-element-b586295,
.elementor-25785 .elementor-element-19aaad4 {
	background-color: #24aeb1 !important;
}

/*
 * Theme color.css forces dark heading color on nav/account/icons.
 * Home 5 header-3 is teal with WHITE text.
 */
.elementor-25785 .elementor-nav-menu--main .elementor-nav-menu a,
.elementor-25785 .elementor-nav-menu--main .elementor-item,
.elementor-25785 .elementor-text-editor,
.elementor-25785 .elementor-text-editor p,
.elementor-25785 .site-header-account > a,
.elementor-25785 .site-header-account > a .text-account,
.elementor-25785 .site-header-account > a i,
.elementor-25785 .header-button,
.elementor-25785 .header-button .title,
.elementor-25785 .header-button .amount,
.elementor-25785 .header-button .count,
.elementor-25785 .header-button .count-text,
.elementor-25785 .header-button .text-wishlist,
.elementor-25785 .header-button i,
.elementor-25785 .elementor-social-icon,
.elementor-25785 .elementor-social-icon i {
	color: #ffffff !important;
	background-color: transparent !important;
}

.elementor-25785 .elementor-nav-menu--main .elementor-item:hover,
.elementor-25785 .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-25785 .site-header-account > a:hover,
.elementor-25785 .header-button:hover,
.elementor-25785 .header-button:hover i {
	color: #eb3a7b !important;
}

.elementor-widget-opal-site-logo img {
	max-height: 56px;
	width: auto;
}

@media (max-width: 767px) {
	.elementor-widget-opal-site-logo img {
		max-height: 40px;
	}
}

/*
 * Home 5 RevSlider: demo hides promo text/buttons on mobile and shows
 * product imagery only. Imported text layers share the same Y and overlap.
 */
@media (max-width: 767px) {
	.elementor-widget-opal-revslider sr7-module sr7-txt,
	.elementor-widget-opal-revslider sr7-module sr7-btn,
	.elementor-widget-opal-revslider sr7-module sr7-grp {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	/* Prevent stretched section from causing horizontal scroll */
	.elementor-25934 .elementor-section-stretched {
		max-width: 100vw;
	}

	#content {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Tablet: match Elementor Home 5 stacking (main first, sidebar below) */
@media (max-width: 1024px) and (min-width: 768px) {
	.elementor-25934 .elementor-element-0ad10d6 > .elementor-container {
		flex-wrap: wrap;
	}
}
