:root {
	--bfyr-red: #d90a2c;
	--bfyr-red-dark: #b70725;
	--bfyr-charcoal: #17161a;
	--bfyr-black: #111111;
	--bfyr-ink: #24242a;
	--bfyr-copy: #54595f;
	--bfyr-muted: #777b80;
	--bfyr-grey: #f4f4f4;
	--bfyr-line: #e5e5e5;
	--bfyr-white: #ffffff;
	--bfyr-max: 1180px;
	--bfyr-shadow: 0 15px 45px rgba(17, 17, 17, 0.1);
	--bfyr-font: "Mulish", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bfyr-white);
	color: var(--bfyr-copy);
	font-family: var(--bfyr-font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

a {
	color: var(--bfyr-red);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
	color: var(--bfyr-charcoal);
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.7em;
	color: var(--bfyr-charcoal);
	font-family: var(--bfyr-font);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.18;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

p {
	margin: 0 0 1.25em;
}

.bfyr-container {
	width: min(calc(100% - 40px), var(--bfyr-max));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--bfyr-white);
	color: var(--bfyr-red);
	font-weight: 700;
	box-shadow: var(--bfyr-shadow);
}

/* Header */
.site-header {
	position: relative;
	z-index: 999;
	background: var(--bfyr-white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-topbar {
	background: var(--bfyr-red);
	color: var(--bfyr-white);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.site-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	gap: 24px;
}

.site-topbar__message {
	margin: 0;
}

.site-topbar__contact {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-topbar a {
	color: var(--bfyr-white);
}

.site-topbar a:hover,
.site-topbar a:focus {
	color: var(--bfyr-charcoal);
}

.site-navigation-shell {
	background: #f7f7f7;
}

.site-navigation-shell__inner {
	display: flex;
	align-items: center;
	min-height: 92px;
	gap: 30px;
}

.site-branding {
	flex: 0 0 auto;
	max-width: 235px;
}

.custom-logo-link,
.bfyr-fallback-logo {
	display: inline-flex;
	align-items: center;
}

.custom-logo,
.bfyr-fallback-logo img {
	width: auto;
	max-width: 222px;
	max-height: 64px;
}

.bfyr-text-logo {
	display: inline-block;
	color: var(--bfyr-red);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.1;
}

.primary-navigation {
	margin-left: auto;
}

.primary-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	display: flex;
	align-items: center;
	min-height: 92px;
	padding: 0 13px;
	color: #212121;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
	color: var(--bfyr-red);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 20;
	min-width: 250px;
	padding: 10px 0;
	background: var(--bfyr-white);
	box-shadow: var(--bfyr-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.primary-menu .sub-menu .sub-menu {
	top: -10px;
	left: 100%;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 20px;
	border-left: 3px solid transparent;
	color: var(--bfyr-ink);
	font-size: 0.84rem;
	font-weight: 650;
	line-height: 1.35;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
	border-left-color: var(--bfyr-red);
	background: var(--bfyr-grey);
	color: var(--bfyr-red);
}

.header-cta,
.bfyr-button,
.elementor a.elementor-button,
.elementor-widget-button .elementor-button,
button:not(.menu-toggle),
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 23px;
	border: 2px solid var(--bfyr-red);
	border-radius: 999px;
	background: var(--bfyr-red);
	color: var(--bfyr-white);
	font-family: var(--bfyr-font);
	font-size: 0.84rem;
	font-weight: 750;
	letter-spacing: 0.025em;
	line-height: 1.2;
	cursor: pointer;
}

.header-cta:hover,
.header-cta:focus,
.bfyr-button:hover,
.bfyr-button:focus,
.elementor a.elementor-button:hover,
.elementor a.elementor-button:focus,
button:not(.menu-toggle):hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: transparent;
	color: var(--bfyr-red);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bfyr-red);
	cursor: pointer;
}

.menu-toggle__bars {
	display: grid;
	gap: 5px;
	width: 25px;
	margin: auto;
}

.menu-toggle__bars i {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Main content */
.site-main--standard {
	min-height: 55vh;
	padding: clamp(55px, 8vw, 100px) 0;
	background: var(--bfyr-grey);
}

.site-main--elementor,
.site-main--full-width {
	min-height: 55vh;
}

.bfyr-elementor-page .site-main > .elementor,
.site-main--full-width > .elementor {
	width: 100%;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 50px;
}

.content-list {
	min-width: 0;
}

.content-card,
.post-card,
.comments-area,
.site-sidebar .widget {
	margin-bottom: 30px;
	padding: clamp(28px, 5vw, 48px);
	background: var(--bfyr-white);
	box-shadow: 0 8px 30px rgba(17, 17, 17, 0.06);
}

.post-card__image {
	display: block;
	margin: calc(clamp(28px, 5vw, 48px) * -1) calc(clamp(28px, 5vw, 48px) * -1) 32px;
}

.post-card__image img {
	width: 100%;
}

.post-card__meta {
	margin: 0 0 8px;
	color: var(--bfyr-red);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-card__title a {
	color: var(--bfyr-charcoal);
}

.post-card__title a:hover {
	color: var(--bfyr-red);
}

.archive-header {
	margin-bottom: 35px;
}

.site-sidebar .widget-title,
.footer-main .widget-title {
	position: relative;
	padding-bottom: 14px;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-sidebar .widget-title::after,
.footer-main .widget-title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 42px;
	height: 3px;
	background: var(--bfyr-red);
	content: "";
}

.site-sidebar ul,
.footer-main ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-sidebar li + li,
.footer-main li + li {
	margin-top: 9px;
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 22px 28px;
	border-left: 5px solid var(--bfyr-red);
	background: var(--bfyr-grey);
	color: var(--bfyr-charcoal);
	font-size: 1.1em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 50px;
	padding: 12px 15px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	background: var(--bfyr-white);
	color: var(--bfyr-ink);
	outline: none;
}

textarea { min-height: 150px; }

input:focus,
textarea:focus,
select:focus {
	border-color: var(--bfyr-red);
	box-shadow: 0 0 0 3px rgba(217, 10, 44, 0.12);
}

.error-404 {
	max-width: 780px;
	text-align: center;
}

.error-404__number {
	margin: 0;
	color: var(--bfyr-red);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.9;
}

/* Elementor harmonization */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
	max-width: var(--bfyr-max);
}

.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-icon-box .elementor-icon-box-title,
.elementor-widget-icon-box .elementor-icon-box-description {
	font-family: var(--bfyr-font);
}

.elementor-widget-heading .elementor-heading-title {
	color: var(--bfyr-charcoal);
}

.elementor-widget-icon-box .elementor-icon,
.elementor-widget-icon-box.elementor-view-default .elementor-icon,
.elementor-widget-icon-box.elementor-view-framed .elementor-icon {
	fill: var(--bfyr-red);
	color: var(--bfyr-red);
	border-color: var(--bfyr-red);
}

.elementor-widget-divider {
	--divider-color: var(--bfyr-red);
}

.elementor-widget-testimonial,
.elementor-testimonial-wrapper {
	font-family: var(--bfyr-font);
}

.elementor .swiper-pagination-bullet-active {
	background: var(--bfyr-red);
}

.elementor .elementor-swiper-button {
	color: var(--bfyr-red);
}

.elementor-form .elementor-field-group .elementor-field {
	border-color: #d9d9d9;
	border-radius: 0;
}

.elementor-form .elementor-field-group .elementor-field:focus {
	border-color: var(--bfyr-red);
}

/* Compatibility for the RT Elementor widgets already used on Brunswick FYR pages. */
.rt-heading-wrapper .punchline {
	display: block;
	margin-bottom: 9px;
	color: var(--bfyr-muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1.45;
	text-transform: uppercase;
}

.rt-heading-wrapper .rt-heading {
	margin: 0;
	color: var(--bfyr-charcoal);
	font-family: var(--bfyr-font);
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	font-weight: 750;
	line-height: 1.18;
}

.button_wrapper {
	display: inline-flex;
	margin-top: 10px;
}

.button_wrapper .button_ {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 24px;
	border: 2px solid var(--bfyr-red);
	border-radius: 999px;
	background: var(--bfyr-red);
	color: var(--bfyr-white);
	font-family: var(--bfyr-font);
	font-size: 0.84rem;
	font-weight: 750;
	letter-spacing: 0.025em;
}

.button_wrapper .button_:hover,
.button_wrapper .button_:focus {
	background: transparent;
	color: var(--bfyr-red);
}

.button_wrapper.hero .button_ {
	border-radius: 0;
}

/* Current Brunswick FYR review plugin */
.wprevpro_t1_outer_div {
	font-family: var(--bfyr-font) !important;
}

.wprevpro_t1_DIV_2 {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 12px 35px rgba(17, 17, 17, 0.08) !important;
}

/* WooCommerce */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	padding: 18px 18px 26px;
	background: var(--bfyr-white);
	box-shadow: 0 8px 30px rgba(17, 17, 17, 0.07);
	text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: var(--bfyr-charcoal);
	font-family: var(--bfyr-font);
	font-size: 1rem;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--bfyr-red);
	font-weight: 800;
}

.woocommerce span.onsale {
	background: var(--bfyr-red);
}

/* Footer */
.site-footer {
	color: #cccccc;
}

.footer-contact-band {
	position: relative;
	z-index: 2;
	background: var(--bfyr-red);
	color: var(--bfyr-white);
}

.footer-contact-band__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.85fr 1fr;
}

.footer-contact-card {
	display: flex;
	align-items: center;
	gap: 17px;
	min-height: 128px;
	padding: 24px 30px;
	border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.footer-contact-card:last-child {
	border-right: 0;
}

.footer-contact-card__icon {
	display: grid;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	font-size: 1.1rem;
}

.footer-contact-card strong,
.footer-contact-card span,
.footer-contact-card a {
	display: block;
}

.footer-contact-card strong {
	margin-bottom: 3px;
	color: var(--bfyr-white);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-contact-card span,
.footer-contact-card a {
	color: var(--bfyr-white);
	font-size: 0.88rem;
	line-height: 1.45;
}

.footer-main {
	padding: 78px 0 58px;
	background:
		linear-gradient(rgba(23, 22, 26, 0.96), rgba(23, 22, 26, 0.96)),
		radial-gradient(circle at 18% 10%, rgba(217, 10, 44, 0.15), transparent 32%);
}

.footer-grid {
	display: grid;
	gap: 48px;
}

.footer-grid--widgets {
	grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
}

.footer-grid--defaults {
	grid-template-columns: 1.5fr 1fr;
}

.footer-brand .custom-logo,
.footer-brand .bfyr-fallback-logo img {
	filter: brightness(0) invert(1);
}

.footer-brand p {
	max-width: 360px;
	margin-top: 24px;
	font-size: 0.9rem;
}

.footer-main h1,
.footer-main h2,
.footer-main h3,
.footer-main h4,
.footer-main h5,
.footer-main h6,
.footer-main .widget-title {
	color: var(--bfyr-white);
}

.footer-main a {
	color: #cccccc;
}

.footer-main a:hover,
.footer-main a:focus {
	color: var(--bfyr-white);
}

.footer-email {
	font-weight: 750;
}

.footer-bottom {
	border-top: 1px solid #2b2a30;
	background: var(--bfyr-charcoal);
}

.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
	gap: 30px;
	font-size: 0.76rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: var(--bfyr-white);
	font-weight: 800;
}

@media (max-width: 1180px) {
	.site-navigation-shell__inner {
		gap: 18px;
	}

	.primary-menu > li > a {
		padding-inline: 9px;
		font-size: 0.8rem;
	}

	.header-cta {
		padding-inline: 16px;
	}
}

@media (max-width: 1040px) {
	.site-navigation-shell__inner {
		min-height: 80px;
	}

	.site-branding {
		margin-right: auto;
	}

	.menu-toggle {
		display: block;
		order: 3;
	}

	.header-cta {
		order: 2;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 100;
		display: none;
		width: 100%;
		max-height: calc(100vh - 120px);
		margin: 0;
		overflow: auto;
		background: var(--bfyr-charcoal);
		box-shadow: var(--bfyr-shadow);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu {
		display: block;
		width: min(calc(100% - 40px), var(--bfyr-max));
		margin: 0 auto;
		padding: 15px 0 22px;
	}

	.primary-menu > li > a,
	.primary-menu .sub-menu a {
		min-height: 0;
		padding: 13px 8px;
		border-bottom: 1px solid #333238;
		color: var(--bfyr-white);
		font-size: 0.92rem;
	}

	.primary-menu .sub-menu,
	.primary-menu .sub-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 18px;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-menu .sub-menu a {
		border-left: 0;
		font-size: 0.82rem;
	}

	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu a:focus {
		border-left-color: transparent;
		background: transparent;
		color: var(--bfyr-red);
	}

	.footer-grid--widgets,
	.footer-grid--defaults {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.site-topbar__inner {
		justify-content: center;
		min-height: 40px;
		text-align: center;
	}

	.site-topbar__message {
		display: none;
	}

	.content-layout {
		grid-template-columns: 1fr;
	}

	.footer-contact-band__grid {
		grid-template-columns: 1fr;
	}

	.footer-contact-card {
		min-height: 100px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	}

	.footer-contact-card:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 640px) {
	.bfyr-container {
		width: min(calc(100% - 30px), var(--bfyr-max));
	}

	.site-topbar__contact {
		width: 100%;
		justify-content: space-between;
		gap: 14px;
	}

	.site-topbar__contact a {
		font-size: 0.72rem;
	}

	.site-navigation-shell__inner {
		min-height: 74px;
	}

	.custom-logo,
	.bfyr-fallback-logo img {
		max-width: 174px;
		max-height: 50px;
	}

	.header-cta {
		display: none;
	}

	.content-card,
	.post-card,
	.comments-area,
	.site-sidebar .widget {
		padding: 25px;
	}

	.post-card__image {
		margin: -25px -25px 25px;
	}

	.footer-grid--widgets,
	.footer-grid--defaults {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.footer-column:empty {
		display: none;
	}

	.footer-bottom__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		min-height: 100px;
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
