/**
 * WP-specific shim on top of fw-styles.css.
 * Menus, logo sizing, admin bar, search row — nothing visual beyond
 * what WordPress structures force on us.
 */

/* wp_nav_menu with items_wrap %3$s emits bare <li> — flatten them. */
body.fw-body .hdr nav.main li {
	display: contents;
}

body.fw-body .foot .fcol li {
	list-style: none;
}

/* Custom logo safety: cap height wherever it lands. */
body.fw-body .hdr .brand .custom-logo {
	max-height: 38px;
	width: auto;
}

body.fw-body .foot .fbrand .custom-logo {
	max-height: 34px;
	width: auto;
}

/* Admin bar offset for the fixed drawer/scrim. */
body.fw-body.admin-bar .drawer {
	top: 32px;
}

@media (max-width: 782px) {
	body.fw-body.admin-bar .drawer {
		top: 46px;
	}
}

/* Header search row (slide-down). */
body.fw-body .searchbtn {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	color: var(--fw-muted);
	cursor: pointer;
}

body.fw-body .searchbtn:hover {
	color: var(--fw-ink);
}

body.fw-body .searchrow {
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px var(--fw-pad-x);
	border-bottom: 1px solid var(--fw-line);
	background: var(--fw-card);
}

body.fw-body .searchrow form {
	display: flex;
	gap: 10px;
}

body.fw-body .searchrow input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 13px 16px;
	border: 1px solid var(--fw-line-strong);
	border-radius: var(--fw-r-in);
	background: var(--fw-card);
	font: inherit;
	font-size: 16px;
	color: var(--fw-ink);
}

body.fw-body .searchrow input[type="search"]:focus {
	outline: none;
	border-color: var(--fw-ink);
}

body.fw-body .searchrow .btn {
	padding: 13px 26px;
}

/* Footer widget area. */
body.fw-body .fw-footwidget {
	font-size: 15px;
	color: var(--fw-muted);
}

/* Woo "onsale" flash is replaced by .tagpill — hide the native one. */
body.fw-body .pcard .onsale,
body.fw-body .minicard .onsale {
	display: none;
}

/* Screen-reader-text pattern for menus etc. is already in fw-styles.css. */

/* Elementor section helpers keep the canvas full-bleed clean. */
body.fw-body .elementor-section-boxed > .elementor-container {
	max-width: 1440px;
}
