/*
Theme Name: Astra Child Wumex24
Template: astra
Version: 1.4.0
Description: Child theme dla Wumex24 — sklep meblowy z konfiguratorem Product Variant + plugin wumex24-product-card.
Author: stworz-strone.pl / Appvico
Text Domain: astra-child-wumex24
*/

/* ============================================================
 * MENU OVERRIDE — Astra header (FIX-3 z 28.05)
 * Wysoka specyficzność z `body ...` + `!important` na każdej regule.
 * ============================================================ */

/* Logo "Wumex24" — serif Fraunces */
body .ast-site-identity,
body .site-branding {
	display: flex !important;
	align-items: center !important;
}
body .ast-site-title-wrap .site-title,
body .site-branding .site-title,
body .site-title {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif !important;
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1A1A1A !important;
	margin: 0 !important;
	letter-spacing: -0.5px !important;
	line-height: 1 !important;
}
body .ast-site-title-wrap .site-title a,
body .site-branding .site-title a,
body .site-title a {
	color: #1A1A1A !important;
	text-decoration: none !important;
	font-family: 'Fraunces', Georgia, serif !important;
}

/* Header container — wycentruj menu, max 1400px, padding spójny */
body .site-header .ast-container,
body .main-header-bar-wrap > .ast-container,
body .ast-primary-header-bar .ast-container {
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 12px 32px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
}

/* Menu links — 15px weight 500 */
body .main-header-menu > .menu-item > a,
body .ast-primary-menu > .menu-item > a,
body nav.site-navigation .menu-item > a {
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #1A1A1A !important;
	padding: 8px 16px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
body .main-header-menu > .menu-item > a:hover,
body .ast-primary-menu > .menu-item > a:hover {
	color: #000 !important;
}

/* Aktywny link / current page */
body .main-header-menu > .current-menu-item > a,
body .main-header-menu > .menu-item.current-menu-parent > a,
body .ast-primary-menu > .current-menu-item > a {
	color: #E5172A !important;
	font-weight: 600 !important;
}

/* "Wyprzedaż" — ZAWSZE czerwone (custom class wmx-menu-sale lub URL) */
body .main-header-menu > .menu-item.wmx-menu-sale > a,
body .ast-primary-menu > .menu-item.wmx-menu-sale > a,
body .main-header-menu > .menu-item a[href*="wyprzedaz"],
body .main-header-menu > .menu-item a[href*="sale"] {
	color: #E5172A !important;
	font-weight: 600 !important;
}

/* Ikony header (search/account/cart) */
body .ast-header-account-wrap,
body .ast-header-cart-info-wrap,
body .ast-builder-menu-1,
body .header-widget-area,
body .wmx-header-icon {
	color: #1A1A1A !important;
}

/* Header reset — bez przerw przed pierwszym contentem */
body .site-header {
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

/* Hamburger menu na mobile */
@media (min-width: 922px) {
	body .ast-mobile-menu-buttons,
	body .ast-button-wrap {
		display: none !important;
	}
}
