/*
 * Blue Fringes redesign (2026) — base skin.
 * Loaded last (see inc/redesign.php), on top of Movedo and the older child
 * styles. Selectors are prefixed with `body` where needed to outrank
 * Movedo's generated inline CSS without !important.
 */

/* ---------- Tokens ---------- */
:root {
	--bf-indigo: #1F3563;
	--bf-night: #14244A;
	--bf-night-line: #2C3F6B;
	--bf-thread: #3E6FB5;
	--bf-thread-light: #8FB0E0;
	--bf-brass: #8F6420;
	--bf-brass-dark: #7A541A;
	--bf-parchment: #F6F2EA;
	--bf-sky: #EEF3FA;
	--bf-ink: #1A1F2B;
	--bf-stone: #5B6070;
	--bf-line: #E4E0D6;
	--bf-line-strong: #CFC8B8;
	--bf-white: #FFFFFF;
	--bf-serif: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
	--bf-sans: 'Assistant', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bf-radius: 6px;
	--bf-radius-card: 10px;
}

/* ---------- Page and type ---------- */
body,
body #grve-theme-wrapper {
	background-color: var(--bf-white);
}

body,
body p,
body li,
body input,
body select,
body textarea,
body button {
	font-family: var(--bf-sans);
}

body {
	color: var(--bf-ink);
	font-size: 17px;
	line-height: 1.6;
}

body p,
body li {
	font-size: 17px;
	line-height: 1.65;
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .grve-h1, body .grve-h2, body .grve-h3, body .grve-h4, body .grve-h5, body .grve-h6,
body .grve-title, body .grve-widget-title {
	font-family: var(--bf-serif);
	font-weight: 500;
	color: var(--bf-indigo);
	letter-spacing: 0;
	text-transform: none;
}

body h1, body .grve-h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
body h2, body .grve-h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
body h3, body .grve-h3 { font-size: 24px; line-height: 1.25; }
body h4, body .grve-h4 { font-size: 20px; line-height: 1.3; }

body a {
	color: var(--bf-indigo);
}

body a:hover,
body a:focus {
	color: var(--bf-thread);
}

body :focus-visible {
	outline: 2px solid var(--bf-thread);
	outline-offset: 2px;
}

/* Hebrew runs in the serif at a slightly larger size. */
body [lang="he"],
body [dir="rtl"] {
	font-family: var(--bf-serif);
}

/* ---------- Top bar ---------- */
body #grve-top-bar,
body #grve-top-bar .grve-wrapper {
	background-color: var(--bf-night);
}

body #grve-top-bar,
body #grve-top-bar a,
body #grve-top-bar .grve-topbar-item {
	color: #D5DEEE;
}

/* Text only: icon links keep their icon font. */
body #grve-top-bar .grve-top-bar-menu a,
body #grve-top-bar .grve-topbar-text {
	font-family: var(--bf-sans);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
}

body #grve-top-bar a:hover {
	color: var(--bf-white);
}

body #grve-top-bar .grve-social li a,
body #grve-top-bar .grve-social li a:before,
body #grve-top-bar .grve-topbar-item-search a,
body #grve-top-bar .grve-topbar-item-search i {
	color: #D5DEEE;
}

body #grve-top-bar .grve-social li a:hover,
body #grve-top-bar .grve-social li a:hover:before {
	color: var(--bf-white);
}

body #grve-top-bar .grve-container {
	padding-top: 4px;
	padding-bottom: 4px;
}

/* ---------- Main header ---------- */
body #grve-main-header,
body #grve-main-header.grve-light,
body #grve-main-responsive-header,
body #grve-responsive-header {
	background-color: var(--bf-white);
}

body #grve-header {
	border-bottom: 1px solid var(--bf-line);
}

/* Logo: inline SVG from bf_logo_svg(). Movedo offsets the wrapper to centre
   an <img>; the SVG is centred with flex instead. */
body #grve-header .grve-logo .grve-wrapper {
	position: relative;
	top: auto;
	height: 100%;
	margin: 0;
	padding: 0;
	transform: none;
	display: flex;
	align-items: center;
	background: transparent;
}

body .grve-logo .grve-wrapper a {
	display: flex;
	align-items: center;
	height: 100%;
}

body .grve-logo .grve-wrapper svg.bf-logo {
	display: block;
	height: 58px;
	width: auto;
	max-width: 100%;
}

body #grve-responsive-header .grve-logo .grve-wrapper svg.bf-logo {
	height: 44px;
}

/* First-level menu items */
body #grve-main-menu .grve-first-level > a,
body #grve-main-menu .grve-first-level > a .grve-item {
	color: var(--bf-ink);
	font-family: var(--bf-sans);
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

body #grve-main-menu .grve-first-level > a:hover,
body #grve-main-menu .grve-first-level:hover > a,
body #grve-main-menu .grve-first-level.current-menu-item > a,
body #grve-main-menu .grve-first-level.current-menu-ancestor > a,
body #grve-main-menu .grve-first-level > a:hover .grve-item,
body #grve-main-menu .grve-first-level.current-menu-item > a .grve-item {
	color: var(--bf-thread);
}

/* The grey "cta" boxes become plain links; the last first-level cta is the
   one brass button. The pill is drawn on .grve-item so it centres inside
   Movedo's full-height link at any header height. */
body #grve-main-menu li.cta,
body #grve-main-menu li.cta > a {
	background: transparent;
}

body #grve-main-header #grve-main-menu .grve-menu > li.cta:last-child > a {
	padding-right: 0;
}

body #grve-main-header #grve-main-menu .grve-menu > li.cta:last-child > a .grve-item {
	display: inline-block;
	vertical-align: middle;
	background-color: var(--bf-brass);
	color: var(--bf-white);
	border-radius: var(--bf-radius);
	padding: 12px 20px;
	line-height: 22px;
}

body #grve-main-header #grve-main-menu .grve-menu > li.cta:last-child > a:hover .grve-item {
	background-color: var(--bf-brass-dark);
	color: var(--bf-white);
}

/* Sticky (scrolled) header stays white with dark links. */
body #grve-header.grve-sticky-header #grve-main-header:not(.grve-header-logo-top),
body #grve-header #grve-main-header.grve-default,
body #grve-header #grve-main-header.grve-dark {
	background-color: var(--bf-white);
	box-shadow: 0 1px 0 var(--bf-line);
}

body #grve-header.grve-sticky-header #grve-main-header #grve-main-menu .grve-wrapper > ul > li > a,
body #grve-header.grve-sticky-header #grve-main-header #grve-main-menu .grve-wrapper > ul > li > a .grve-item {
	color: var(--bf-ink);
}

body #grve-header.grve-sticky-header #grve-main-header #grve-main-menu .grve-wrapper > ul > li > a:hover .grve-item,
body #grve-header.grve-sticky-header #grve-main-header #grve-main-menu .grve-wrapper > ul > li.current-menu-item > a .grve-item {
	color: var(--bf-thread);
}

body #grve-header.grve-sticky-header #grve-main-header #grve-main-menu .grve-wrapper > ul > li.cta:last-child > a .grve-item {
	color: var(--bf-white);
}

/* ---------- Page title band (replaces the photo headers) ---------- */
body #grve-theme-wrapper .grve-page-title,
body #grve-theme-wrapper .grve-page-title.grve-bg-dark,
body #grve-theme-wrapper .grve-page-title.grve-bg-light {
	/* !important only because theme-base.css forces .grve-bg-dark blue with !important. */
	background-color: var(--bf-parchment) !important;
	border-bottom: 1px solid var(--bf-line);
}

body .grve-page-title .grve-background-wrapper,
body .grve-page-title .grve-bg-overlay {
	display: none;
}

body .grve-page-title .grve-title,
body .grve-page-title .grve-title span,
body .grve-page-title .grve-title.grve-text-light {
	color: var(--bf-indigo);
	font-family: var(--bf-serif);
	font-weight: 500;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: none;
}

body .grve-page-title .grve-title.grve-with-line:after,
body .grve-page-title .grve-title.grve-with-line:before {
	background-color: var(--bf-thread);
}

body .grve-page-title .grve-description,
body .grve-page-title .grve-subheading {
	color: var(--bf-stone);
	font-family: var(--bf-sans);
	text-transform: none;
	letter-spacing: 0;
}

body #grve-main-menu li.cta:last-child > a,
body #grve-main-menu li.cta:last-child > a .grve-item {
	color: var(--bf-white);
}

body #grve-main-menu li.cta:last-child > a:hover {
	background-color: var(--bf-brass-dark);
}

/* Drop-downs */
body #grve-main-menu .sub-menu,
body #grve-main-header .sub-menu {
	background-color: var(--bf-white);
	border: 1px solid var(--bf-line);
	border-radius: 0 0 var(--bf-radius-card) var(--bf-radius-card);
	box-shadow: 0 14px 30px rgba(20, 36, 74, 0.14);
	padding: 8px 0;
}

body #grve-main-menu .sub-menu li a,
body #grve-main-menu .sub-menu li a .grve-item {
	color: var(--bf-ink);
	font-family: var(--bf-sans);
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	background: transparent;
}

body #grve-main-menu .sub-menu li a:hover,
body #grve-main-menu .sub-menu li.current-menu-item > a {
	background-color: var(--bf-sky);
	color: var(--bf-indigo);
}

body #grve-header #grve-main-menu a,
body #grve-header #grve-main-menu a .grve-item {
	text-decoration: none;
}

/* Down chevron on first-level items with a drop-down. */
body #grve-main-header #grve-main-menu .grve-menu > li.menu-item-has-children > a .grve-item:after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 0 3px 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	vertical-align: middle;
	opacity: .7;
}

/* ---------- Learn mega menu (Movedo megamenu, 6 columns) ---------- */
body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu > ul.sub-menu {
	background-color: var(--bf-white);
	border: 1px solid var(--bf-line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	box-shadow: 0 18px 40px rgba(20, 36, 74, 0.16);
	padding: 28px 24px 24px;
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu > .sub-menu > li {
	border-right: 0;
	padding: 0 12px;
	box-sizing: border-box;
}

/* Column headings (no-link items) */
body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu > .sub-menu > li > a,
body #grve-header .grve-main-menu .grve-wrapper > ul > li.megamenu > ul > li > a {
	cursor: default;
	padding: 0 10px 8px;
	margin-bottom: 6px;
	border-bottom: 2px solid var(--bf-indigo);
	background: transparent;
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu > .sub-menu > li > a .grve-item {
	color: var(--bf-indigo);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* Column link lists sit flat inside the panel. */
body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu ul.sub-menu ul.sub-menu {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu ul.sub-menu ul.sub-menu li a {
	padding: 7px 10px;
	border-radius: var(--bf-radius);
	line-height: 1.35;
	white-space: normal;
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu ul.sub-menu ul.sub-menu li a .grve-item {
	color: var(--bf-ink);
	font-size: 15px;
	font-weight: 600;
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu ul.sub-menu ul.sub-menu li a:hover {
	background-color: var(--bf-sky);
}

body #grve-header #grve-main-menu.grve-horizontal-menu ul.grve-menu li.megamenu ul.sub-menu ul.sub-menu li a:hover .grve-item {
	color: var(--bf-indigo);
}

/* Phone and tablet header: white bar, no top bar (its links live in the menu). */
body #grve-responsive-header #grve-main-responsive-header {
	background-color: var(--bf-white);
	border-bottom: 1px solid var(--bf-line);
}

@media (max-width: 959px) {
	body #grve-top-bar {
		display: none;
	}
}

/* Responsive menu button */
body #grve-responsive-header .grve-header-elements a,
body #grve-responsive-header .grve-header-elements i {
	color: var(--bf-ink);
}

/* ---------- Phone menu panel (#grve-hidden-menu) ---------- */
body #grve-hidden-menu,
body #grve-hidden-menu .grve-hiddenarea-wrapper {
	background-color: var(--bf-night);
}

body #grve-hidden-menu .grve-close-btn span,
body #grve-hidden-menu .grve-icon-close,
body #grve-hidden-menu .grve-icon-close:before,
body #grve-hidden-menu .grve-icon-close:after {
	color: var(--bf-white);
	border-color: var(--bf-white);
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu li {
	border-color: var(--bf-night-line);
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu li a,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu li a .grve-item {
	color: var(--bf-white);
	font-family: var(--bf-sans);
	font-size: 18px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	text-decoration: none;
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu .sub-menu li a,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu .sub-menu li a .grve-item {
	color: #D5DEEE;
	font-size: 16px;
	font-weight: 400;
}

/* Items with sub-menus sit inside Movedo's toggle wrapper. */
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li > .grve-toggle-menu-item-wrapper a,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li > .grve-toggle-menu-item-wrapper a .grve-item {
	font-family: var(--bf-sans);
	font-size: 18px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bf-white);
}

body #grve-hidden-menu.grve-toggle-menu ul li ul li > .grve-toggle-menu-item-wrapper a,
body #grve-hidden-menu.grve-toggle-menu ul li ul li > .grve-toggle-menu-item-wrapper a .grve-item,
body #grve-hidden-menu.grve-toggle-menu ul li ul li > a,
body #grve-hidden-menu.grve-toggle-menu ul li ul li > a .grve-item {
	font-family: var(--bf-sans);
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: #D5DEEE;
}

/* Learn's column headings become small labels on the phone. */
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu li.bf-mega-heading > a,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu li.bf-mega-heading > a .grve-item {
	color: #A9C2E6;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu .grve-arrow,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu .grve-arrow:before,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu .grve-arrow:after {
	color: var(--bf-white);
	border-color: var(--bf-white);
}

/* "Order or ask" as a full-width brass button. */
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li.cta {
	border: 0;
	margin-top: 18px;
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li.cta > a {
	display: block;
	background-color: var(--bf-brass);
	border-radius: var(--bf-radius);
	text-align: center;
	padding: 12px 16px;
}

/* ---------- Buttons ---------- */
body .grve-btn,
body .wpcf7 input[type="submit"],
body input[type="submit"],
body button.grve-btn {
	background-color: var(--bf-indigo);
	color: var(--bf-white);
	border: 0;
	border-radius: var(--bf-radius);
	font-family: var(--bf-sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	min-height: 46px;
	box-shadow: none;
}

body .grve-btn:hover,
body .wpcf7 input[type="submit"]:hover,
body input[type="submit"]:hover {
	background-color: var(--bf-night);
	color: var(--bf-white);
}

/* The main order action keeps the brass colour. */
body .bf-btn-order,
body .wpcf7 input[type="submit"] {
	background-color: var(--bf-brass);
}

body .bf-btn-order:hover,
body .wpcf7 input[type="submit"]:hover {
	background-color: var(--bf-brass-dark);
}

/* ---------- Forms ---------- */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="search"],
body input[type="number"],
body select,
body textarea {
	border: 1px solid var(--bf-line-strong);
	border-radius: var(--bf-radius);
	background-color: var(--bf-white);
	color: var(--bf-ink);
	font-size: 16px;
}

body input:focus,
body select:focus,
body textarea:focus {
	border-color: var(--bf-thread);
}

/* ---------- Footer ---------- */
body #grve-footer,
body #grve-footer .grve-widget-area,
body #grve-footer .grve-footer-wrapper {
	background-color: var(--bf-night);
	color: #D5DEEE;
}

body #grve-footer .grve-widget-title {
	color: var(--bf-white);
	font-size: 20px;
	margin-bottom: 14px;
}

body #grve-footer p,
body #grve-footer li,
body #grve-footer .textwidget {
	color: #D5DEEE;
	font-size: 15px;
}

body #grve-footer a {
	color: #D5DEEE;
}

body #grve-footer a:hover {
	color: var(--bf-white);
}

body #grve-footer .grve-footer-bar,
body .grve-footer-bar {
	background-color: var(--bf-night);
	border-top: 1px solid var(--bf-night-line);
	color: #D5DEEE;
}

body .grve-footer-bar a,
body .grve-footer-bar .grve-copyright {
	color: #D5DEEE;
	font-size: 14px;
}

/* ---------- Back to top ---------- */
body .grve-back-top {
	background-color: var(--bf-indigo);
	border-radius: var(--bf-radius);
}

@media (prefers-reduced-motion: reduce) {
	body * {
		scroll-behavior: auto;
	}
}

/* Phone menu: the old grey "cta" background must not show behind the brass button. */
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li.cta,
body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li.cta > a:hover {
	background-color: transparent;
}

body #grve-hidden-menu .grve-hiddenarea-content .grve-menu > li.cta > a:hover {
	background-color: var(--bf-brass-dark);
}

/* ---------- "Let's meet" contact section ----------
 * Two places print it: the #contactWrap page-builder row (most pages) and
 * contact_form_bottom() (.footer-contact, single pages). Both become one
 * compact layout: intro on the left, the form in a white card on the right,
 * short fields side by side. The low-resolution photo column is dropped.
 * !important only where the page builder sets inline / custom-class values.
 */
body.bf-redesign #contactWrap,
body.bf-redesign .footer-contact {
	background: var(--bf-night) !important;
	color: #D5DEEE;
}
body.bf-redesign #contactWrap { padding: 80px 0 !important; }
body.bf-redesign #contactWrap .grve-background-wrapper,
body.bf-redesign #contactWrap .grve-row > .grve-column:not(#contact),
body.bf-redesign .footer-contact-leftside { display: none !important; }
body.bf-redesign #contactWrap > .grve-container { max-width: 1120px; margin: 0 auto; padding: 0 24px !important; }
body.bf-redesign #contactWrap .grve-row { margin: 0; }
body.bf-redesign #contactWrap #contact { width: 100% !important; float: none; padding: 0 !important; }
body.bf-redesign #contactWrap #contact > .grve-column-wrapper,
body.bf-redesign .footer-contact-rightside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
	gap: 56px;
	align-items: start;
	padding: 0 !important;
	background: none !important;
}
body.bf-redesign .footer-contact { padding: 80px 24px; }
body.bf-redesign .footer-contact-rightside { width: auto !important; float: none; max-width: 1072px; margin: 0 auto; }

/* Intro column */
body.bf-redesign #contactWrap .grve-slogan,
body.bf-redesign .footer-contact .textwidget { text-align: left; padding-top: 8px; }
body.bf-redesign #contactWrap .grve-slogan-title,
body.bf-redesign .footer-contact .grve-slogan-title {
	color: var(--bf-white);
	font-family: var(--bf-serif);
	font-size: clamp(32px, 3.4vw, 44px);
	font-weight: 500;
	line-height: 1.1;
	text-align: left;
	margin: 0 0 16px;
}
body.bf-redesign #contactWrap .grve-slogan-title span,
body.bf-redesign .footer-contact .grve-slogan-title span { color: inherit; background: none; }
body.bf-redesign #contactWrap .grve-slogan p,
body.bf-redesign .footer-contact .textwidget p {
	color: #D5DEEE;
	font-family: var(--bf-sans);
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	margin: 0 0 12px;
}
body.bf-redesign #contactWrap .grve-slogan a,
body.bf-redesign .footer-contact .textwidget a { color: var(--bf-white); font-weight: 700; }
body.bf-redesign #contactWrap .grve-slogan::after,
body.bf-redesign .footer-contact .textwidget::after {
	content: "Pickup in Toronto · GTA delivery · Shipping to Canada and the US";
	display: block;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--bf-night-line);
	color: var(--bf-thread-light);
	font: 600 14px/1.5 var(--bf-sans);
}

/* Form card */
body.bf-redesign #contactWrap .wpcf7,
body.bf-redesign .footer-contact .wpcf7 {
	background: var(--bf-white);
	border-radius: 14px;
	padding: 28px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
body.bf-redesign #contactWrap .wpcf7-form,
body.bf-redesign .footer-contact .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}
body.bf-redesign #contactWrap .wpcf7-form > *,
body.bf-redesign .footer-contact .wpcf7-form > * { grid-column: 1 / -1; margin: 0 !important; }
body.bf-redesign #contactWrap .wpcf7-form > p:nth-of-type(-n+6),
body.bf-redesign .footer-contact .wpcf7-form > p:nth-of-type(-n+6) { grid-column: auto; }
body.bf-redesign #contactWrap .wpcf7-form > fieldset,
body.bf-redesign .footer-contact .wpcf7-form > fieldset,
body.bf-redesign #contactWrap .wpcf7-form > p:has(.hideme),
body.bf-redesign .footer-contact .wpcf7-form > p:has(.hideme) { display: none; }
body.bf-redesign #contactWrap .wpcf7-form br,
body.bf-redesign .footer-contact .wpcf7-form br { display: none; }
body.bf-redesign #contactWrap .wpcf7 label,
body.bf-redesign .footer-contact .wpcf7 label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--bf-ink);
	font: 600 14px/1.3 var(--bf-sans);
	text-align: left;
}
body.bf-redesign #contactWrap .wpcf7 input[type="text"],
body.bf-redesign #contactWrap .wpcf7 input[type="email"],
body.bf-redesign #contactWrap .wpcf7 input[type="tel"],
body.bf-redesign #contactWrap .wpcf7 select,
body.bf-redesign #contactWrap .wpcf7 textarea,
body.bf-redesign .footer-contact .wpcf7 input[type="text"],
body.bf-redesign .footer-contact .wpcf7 input[type="email"],
body.bf-redesign .footer-contact .wpcf7 input[type="tel"],
body.bf-redesign .footer-contact .wpcf7 select,
body.bf-redesign .footer-contact .wpcf7 textarea {
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 10px 12px;
	background: #FBFAF6;
	border: 1px solid var(--bf-line-strong);
	border-radius: 8px;
	color: var(--bf-ink);
	font: 400 16px/1.4 var(--bf-sans);
	box-sizing: border-box;
}
body.bf-redesign #contactWrap .wpcf7 textarea,
body.bf-redesign .footer-contact .wpcf7 textarea { height: 130px; resize: vertical; }
body.bf-redesign #contactWrap .wpcf7 input:focus,
body.bf-redesign #contactWrap .wpcf7 select:focus,
body.bf-redesign #contactWrap .wpcf7 textarea:focus,
body.bf-redesign .footer-contact .wpcf7 input:focus,
body.bf-redesign .footer-contact .wpcf7 select:focus,
body.bf-redesign .footer-contact .wpcf7 textarea:focus { outline: 2px solid var(--bf-thread); outline-offset: 1px; background: #fff; }
body.bf-redesign #contactWrap .wpcf7 .dscf7-captcha-container,
body.bf-redesign .footer-contact .wpcf7 .dscf7-captcha-container { color: var(--bf-ink); }
body.bf-redesign #contactWrap .wpcf7 input[type="submit"],
body.bf-redesign .footer-contact .wpcf7 input[type="submit"] {
	width: auto;
	min-width: 200px;
	height: 50px;
	padding: 0 28px;
	background: var(--bf-brass);
	border: 0;
	border-radius: var(--bf-radius);
	color: var(--bf-white);
	font: 700 16px/1 var(--bf-sans);
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
body.bf-redesign #contactWrap .wpcf7 input[type="submit"]:hover,
body.bf-redesign .footer-contact .wpcf7 input[type="submit"]:hover { background: var(--bf-brass-dark); }
body.bf-redesign #contactWrap .wpcf7-response-output,
body.bf-redesign .footer-contact .wpcf7-response-output { color: var(--bf-ink); }

@media (max-width: 860px) {
	body.bf-redesign #contactWrap { padding: 56px 0 !important; }
	body.bf-redesign .footer-contact { padding: 56px 16px; }
	body.bf-redesign #contactWrap > .grve-container { padding: 0 16px !important; }
	body.bf-redesign #contactWrap #contact > .grve-column-wrapper,
	body.bf-redesign .footer-contact-rightside { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
	body.bf-redesign #contactWrap .wpcf7,
	body.bf-redesign .footer-contact .wpcf7 { padding: 20px; }
	body.bf-redesign #contactWrap .wpcf7-form > p:nth-of-type(-n+6),
	body.bf-redesign .footer-contact .wpcf7-form > p:nth-of-type(-n+6) { grid-column: 1 / -1; }
}

/* Movedo colour classes on buttons (grve-bg-primary-1 etc.) outrank plain rules. */
body #grve-theme-wrapper a.grve-btn,
body #grve-theme-wrapper a.grve-btn:hover {
	background-color: var(--bf-indigo);
	border-color: var(--bf-indigo);
	color: var(--bf-white);
	border-radius: var(--bf-radius);
	font-family: var(--bf-sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	padding: 12px 22px;
	line-height: 1.3;
	box-shadow: none;
}

body #grve-theme-wrapper a.grve-btn:hover { background-color: var(--bf-night); }
body #grve-theme-wrapper a.grve-btn span { color: inherit; }

/* Narrow desktops (960–1199px): tighten the menu so it stays on one row
   beside the logo instead of wrapping over the page. */
@media (min-width: 960px) and (max-width: 1199px) {
	body #grve-main-header #grve-main-menu .grve-menu > li.grve-first-level > a {
		padding-left: 16px;
	}
	body #grve-main-header #grve-main-menu .grve-menu > li.grve-first-level > a .grve-item {
		font-size: 15px;
	}
}
body.bf-redesign .footer-contact { display: block !important; }
body.bf-redesign .footer-contact-rightside { display: grid !important; }
body.bf-redesign #contactWrap .wpcf7-form-control-wrap,
body.bf-redesign .footer-contact .wpcf7-form-control-wrap { display: block; margin: 0; }
body.bf-redesign #contactWrap .wpcf7 input,
body.bf-redesign #contactWrap .wpcf7 select,
body.bf-redesign #contactWrap .wpcf7 textarea,
body.bf-redesign .footer-contact .wpcf7 input,
body.bf-redesign .footer-contact .wpcf7 select,
body.bf-redesign .footer-contact .wpcf7 textarea { margin: 0 !important; }
@media (max-width: 860px) {
	body.bf-redesign .footer-contact-rightside { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Page title band: compact and left-aligned like the redesign title bands
   (Movedo gives it a fixed 300px with a small centred title). */
body #grve-theme-wrapper .grve-page-title { height: auto !important; min-height: 0 !important; }
body #grve-theme-wrapper .grve-page-title .grve-wrapper,
body #grve-theme-wrapper .grve-page-title .grve-content { height: auto !important; min-height: 0 !important; position: static; }
body #grve-theme-wrapper .grve-page-title .grve-content { padding: 44px 0 40px; }
body #grve-theme-wrapper .grve-page-title .grve-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: auto; }
body #grve-theme-wrapper .grve-page-title .grve-title-content-wrapper { text-align: left; max-width: none; padding: 0; }
body #grve-theme-wrapper .grve-page-title .grve-title { text-align: left; margin: 0; }
body #grve-theme-wrapper .grve-page-title .grve-title.grve-with-line { padding: 0; }
body #grve-theme-wrapper .grve-page-title .grve-title.grve-with-line:before,
body #grve-theme-wrapper .grve-page-title .grve-title.grve-with-line:after { display: none; }
body #grve-theme-wrapper .grve-page-title .grve-animate-fade-in-up { opacity: 1 !important; transform: none !important; }
body #grve-theme-wrapper .grve-page-title .grve-content { display: block !important; text-align: left !important; }
body #grve-theme-wrapper .grve-page-title .grve-container { max-width: 1240px; padding: 0 24px; text-align: left; }
body #grve-theme-wrapper .grve-page-title .grve-title-content-wrapper { display: block; padding-left: 15px; }
@media (max-width: 959px) {
	body #grve-theme-wrapper .grve-page-title .grve-content { padding: 32px 0 28px; }
	body #grve-theme-wrapper .grve-page-title .grve-container { padding: 0 16px; }
	body #grve-theme-wrapper .grve-page-title .grve-title-content-wrapper { padding-left: 0; }
}

/* One grid for the whole site: header, top bar and footer contact share the
   content's 1200px column, so the logo and menu line up with the page. */
@media (min-width: 960px) {
	body #grve-main-header > .grve-wrapper > .grve-container,
	body #grve-top-bar .grve-top-bar-wrapper > .grve-container {
		max-width: 1200px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: 24px !important;
		padding-right: 24px !important;
		box-sizing: border-box;
	}
}
body.bf-redesign #contactWrap > .grve-container { max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
body.bf-redesign .footer-contact-rightside { max-width: 1200px; }

/* Phone / tablet header: the menu button was white on the white header. */
body #grve-responsive-header .grve-header-element a,
body #grve-responsive-header .grve-header-element a .grve-item,
body #grve-responsive-header .grve-icon-menu,
body #grve-responsive-header .grve-icon-menu::before,
body #grve-responsive-header [class*="grve-icon-"]::before { color: var(--bf-indigo) !important; }
body #grve-responsive-header .grve-hidden-menu-btn a:hover .grve-icon-menu::before { color: var(--bf-thread) !important; }
body #grve-responsive-header .grve-hidden-menu-btn .grve-icon-menu { font-size: 24px; width: 24px; height: 24px; }
body #grve-responsive-header .grve-hidden-menu-btn .grve-icon-menu::before { font-size: 26px; line-height: 24px; }

/* Site footer: on the 1200px grid; book covers as a compact row
   (two per column, 150px tall) instead of tall stacked images. */
body.bf-redesign #grve-footer .grve-widget-area > .grve-container,
body.bf-redesign #grve-footer .grve-footer-bar .grve-container {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}
body.bf-redesign #grve-footer .grve-widget-area > .grve-container { padding-top: 56px !important; padding-bottom: 40px !important; }
body.bf-redesign #grve-footer .grve-widget-area .grve-row { margin-left: -12px; margin-right: -12px; }
body.bf-redesign #grve-footer .grve-widget-area .grve-column { padding-left: 12px; padding-right: 12px; }
@media (min-width: 760px) {
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:last-child) .grve-column-wrapper {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 16px;
		align-items: start;
	}
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:last-child) .widget:not(:has(.grve-widget-title)) { padding-top: 34px; }
}
body.bf-redesign #grve-footer .widget_text .textwidget img { max-height: 150px; width: auto; max-width: 100%; margin: 0 auto 8px; display: block; border-radius: 4px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); }
body.bf-redesign #grve-footer .widget_text .textwidget { text-align: center; font-size: 13px; line-height: 1.4; }
body.bf-redesign #grve-footer .widget { margin-bottom: 16px; }
body.bf-redesign #grve-footer .grve-widget-title { margin-bottom: 10px; font: 700 11px/1.4 var(--bf-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bf-thread-light); }
body.bf-redesign #grve-footer .widget_nav_menu li { padding: 3px 0; font-size: 14px; }
@media (min-width: 960px) {
	body.bf-redesign #grve-footer .widget_nav_menu ul.menu { columns: 2; column-gap: 20px; }
	body.bf-redesign #grve-footer .widget_nav_menu li { break-inside: avoid; }
}
@media (max-width: 759px) {
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:last-child) .grve-column-wrapper {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 14px;
		align-items: start;
	}
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:last-child) .widget:not(:has(.grve-widget-title)) { padding-top: 34px; }
	body.bf-redesign #grve-footer .widget_text .textwidget img { max-height: 120px; }
	body.bf-redesign #grve-footer .grve-widget-area > .grve-container { padding-top: 40px !important; padding-left: 16px !important; padding-right: 16px !important; }
	body.bf-redesign #grve-footer .widget_nav_menu ul.menu { columns: 2; column-gap: 16px; }
}
body.bf-redesign #grve-footer .widget_text .textwidget,
body.bf-redesign #grve-footer .widget_text .textwidget a { font-size: 13px !important; line-height: 1.4; }
body.bf-redesign #grve-footer .widget_text .textwidget p { margin: 0; }
@media (max-width: 759px) {
	body.bf-redesign #grve-footer .grve-widget-area .grve-column { margin-bottom: 8px !important; padding-bottom: 0 !important; }
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:first-child) .widget:has(.grve-widget-title) .grve-widget-title { display: none; }
	body.bf-redesign #grve-footer .grve-widget-area .grve-column:not(:first-child):not(:last-child) .widget { padding-top: 0 !important; }
}

/* Desktop dropdowns (Tying styles, Prices, Blog): white panel, dark text.
   Movedo's dark submenu colours were showing through (black on black). */
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu,
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu ul.sub-menu {
	background-color: var(--bf-white) !important;
	border: 1px solid var(--bf-line);
	border-radius: var(--bf-radius-card);
	box-shadow: 0 14px 36px rgba(20, 36, 74, 0.14);
	padding: 8px 0;
}
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li { background: transparent !important; }
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li > a,
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li > a .grve-item {
	color: var(--bf-ink) !important;
	background: transparent !important;
}
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li > a:hover,
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li > a:hover .grve-item,
body #grve-header #grve-main-menu .grve-menu li:not(.megamenu) > ul.sub-menu li.current-menu-item > a .grve-item {
	color: var(--bf-indigo) !important;
	background: var(--bf-sky) !important;
}
