:root {
	--ff-stone: #716f63;
	--ff-cream: #f0efe3;
	--ff-sand: #d6d2c6;
	--ff-ink: #3b3530;
	--ff-maroon: #851e26;
	--ff-utility-height: 42px;
	--ff-masthead-height: 80px;
	--ff-masthead-scrolled: 54px;
}

html {
	scroll-padding-top: calc(var(--ff-utility-height) + var(--ff-masthead-scrolled) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

.ff-header,
.ff-header *,
.ff-drawer,
.ff-drawer *,
.ff-footer,
.ff-footer * {
	box-sizing: border-box;
}

.ff-header ul,
.ff-drawer ul,
.ff-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-icon {
	display: block;
	flex: none;
}

/* Holds the full header height while the fixed header shrinks, so the page never
   moves. Also replaces the 80px Divi reserves below 980px for its own header. */
body #page-container {
	padding-top: calc(var(--ff-utility-height) + var(--ff-masthead-height));
}

.ff-skip-link {
	position: fixed;
	top: -100px;
	left: 10px;
	z-index: 100001;
	padding: 12px 20px;
	background: #fff;
	color: var(--ff-ink);
	font-weight: 600;
}

.ff-skip-link:focus {
	top: 10px;
}


.ff-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0);
	right: 0;
	left: 0;
	z-index: 1000;
	box-shadow: 0 0 7px rgba(0, 0, 0, .1);
	font-family: 'Open Sans', Arial, sans-serif;
}

.ff-utility {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	height: var(--ff-utility-height);
	padding: 0 30px;
	background: var(--ff-stone);
	color: var(--ff-cream);
	font-size: 15px;
	font-weight: 600;
}

.ff-utility__group,
.ff-utility__nav {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ff-utility a {
	color: var(--ff-cream);
}

.ff-utility .ff-pill a {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 14px;
	border: 1px solid rgba(240, 239, 227, .4);
	border-radius: 999px;
	background: rgba(0, 0, 0, .18);
	font-size: 13px;
	line-height: 1;
	letter-spacing: .02em;
	transition: background-color .15s, border-color .15s, color .15s;
}

.ff-utility .ff-pill a:hover,
.ff-utility .ff-pill a:focus-visible {
	border-color: var(--ff-cream);
	background: var(--ff-cream);
	color: var(--ff-stone);
}

.ff-utility .ff-pill a[href*="/sale"] {
	border-color: var(--ff-maroon);
	background: var(--ff-maroon);
	color: #fff;
}

.ff-utility .ff-pill a[href*="/sale"]:hover,
.ff-utility .ff-pill a[href*="/sale"]:focus-visible {
	border-color: #6a171e;
	background: #6a171e;
	color: #fff;
}

.ff-utility a:focus-visible {
	outline: 2px solid var(--ff-cream);
	outline-offset: 2px;
}

.ff-social {
	display: block;
	transition: opacity .15s;
}

.ff-social:hover,
.ff-social:focus-visible {
	opacity: .7;
}

.ff-cart {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ff-masthead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: var(--ff-masthead-height);
	padding: 0 30px;
	background: var(--ff-cream);
}

.ff-logo {
	display: block;
}

.ff-logo img {
	display: block;
	width: auto;
	height: 48px;
}

/* Links fill the bar so the dropdown stays attached as the header shrinks. */
.ff-nav,
.ff-nav > ul,
.ff-nav__list > li {
	height: 100%;
}

.ff-nav__list {
	display: flex;
	gap: 28px;
}

.ff-nav__list > li {
	position: relative;
}

.ff-nav__list > li > a,
.ff-nav__toggle {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ff-stone);
	font: 700 12px/1.4 'Open Sans', Arial, sans-serif;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .15s;
}

.ff-nav__toggle::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 0 2px 7px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

.ff-nav__list > li > a:hover,
.ff-nav__list > li > a:focus-visible,
.ff-nav__list > li:hover > .ff-nav__toggle,
.ff-nav__list > li:focus-within > .ff-nav__toggle,
.ff-nav__list > .current-menu-item > a {
	color: var(--ff-maroon);
}

.ff-nav .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	width: 260px;
	padding: 8px 0;
	border-top: 3px solid var(--ff-maroon);
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s, visibility .15s;
}

.ff-nav li:hover > .sub-menu,
.ff-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.ff-nav .sub-menu li + li {
	border-top: 1px solid #efece3;
}

.ff-nav .sub-menu a {
	display: block;
	padding: 11px 24px;
	color: var(--ff-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color .15s, color .15s;
}

.ff-nav .sub-menu a:hover,
.ff-nav .sub-menu a:focus-visible {
	background: #f7f5ee;
	color: var(--ff-maroon);
}

.ff-menu-button {
	display: none;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--ff-stone);
	cursor: pointer;
}

.ff-drawer {
	inset: 0 0 0 auto;
	width: min(320px, 85vw);
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 56px 24px 24px;
	border: 0;
	background: var(--ff-cream);
	font-family: 'Open Sans', Arial, sans-serif;
	overflow-y: auto;
}

.ff-drawer::backdrop {
	background: rgba(0, 0, 0, .5);
}

.ff-drawer__close {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 8px;
	border: 0;
	background: none;
	color: var(--ff-stone);
	cursor: pointer;
}

.ff-drawer__label,
.ff-drawer__nav > li > a {
	display: block;
	padding: 12px 0;
	color: var(--ff-ink);
	font-size: 16px;
	font-weight: 700;
}

.ff-drawer .sub-menu a {
	display: block;
	padding: 11px 0 11px 14px;
	color: var(--ff-ink);
	font-size: 15px;
	font-weight: 600;
}


/* Divi's footer put cream text on a pale tint, about 1.7:1 contrast. Same palette, darker ground. */
.ff-footer {
	background: var(--ff-stone);
	color: var(--ff-cream);
	font: 14px/1.7 'Open Sans', Arial, sans-serif;
}

.ff-footer__main {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 36px 0;
}

.ff-footer a {
	color: var(--ff-cream);
}

.ff-footer a:hover,
.ff-footer a:focus-visible {
	text-decoration: underline;
}

.ff-footer__logo {
	display: block;
	width: 168px;
	height: auto;
	margin-bottom: 18px;
}

.ff-footer__accept {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.ff-footer__heading {
	margin: 0 0 8px;
	padding: 0;
	color: var(--ff-cream);
	font: 700 18px/1.5 'Playfair Display', Georgia, serif;
	text-transform: uppercase;
}

.ff-footer__contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
}

.ff-footer__social {
	display: flex;
	gap: 18px;
	margin-top: 12px;
}

.ff-footer__bar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px max(10%, calc((100% - 1080px) / 2));
	background: var(--ff-sand);
	color: var(--ff-ink);
}

.ff-footer__bar p {
	margin: 0;
	padding: 0;
}

.ff-footer__bar a {
	color: var(--ff-ink);
	font-weight: 700;
}


/* Browsers without scroll-driven animations keep the full-height header. */
@supports (animation-timeline: scroll()) {
	.ff-masthead,
	.ff-logo img {
		animation-timing-function: linear;
		animation-fill-mode: both;
		animation-timeline: scroll(root);
		animation-range: 0 120px;
	}

	.ff-masthead {
		animation-name: ff-masthead-shrink;
	}

	.ff-logo img {
		animation-name: ff-logo-shrink;
	}
}

@keyframes ff-masthead-shrink {
	to {
		height: var(--ff-masthead-scrolled);
	}
}

@keyframes ff-logo-shrink {
	to {
		height: 32px;
	}
}


@media (max-width: 768px) {
	html {
		scroll-padding-top: 0;
	}

	body #page-container {
		padding-top: 0;
	}

	.ff-header {
		position: static;
	}

	.ff-utility,
	.ff-masthead {
		padding-inline: 16px;
	}

	.ff-utility {
		flex-wrap: wrap;
		justify-content: center;
		height: auto;
		min-height: var(--ff-utility-height);
		padding-block: 6px;
		font-size: 14px;
	}

	.ff-masthead {
		height: 66px;
	}

	.ff-masthead,
	.ff-logo img {
		animation: none;
	}

	.ff-logo img {
		height: 40px;
	}

	.ff-nav {
		display: none;
	}

	.ff-menu-button {
		display: block;
	}

	.ff-footer__main {
		grid-template-columns: 1fr 1fr;
		width: auto;
		padding: 32px 16px;
	}

	.ff-footer__brand {
		grid-column: 1 / -1;
	}

	.ff-footer__bar {
		padding-inline: 16px;
	}
}

@media (max-width: 480px) {
	.ff-footer__main {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ff-footer__bar {
		flex-direction: column;
		gap: 4px;
	}
}
