/* Welcome mockup presentation. Client View continues to own catalog behavior. */

/* Header
---------------------------------------------------------------------------- */
/* Links fill the wrap's height so there is no gap above the panel. */
.site-header > .wrap {
	align-items: stretch;
	min-height: 116px;
	position: relative;
}

.site-header .title-area {
	align-self: center;
}

#genesis-nav-primary.wf-nav {
	align-items: stretch;
	align-self: stretch;
	display: flex;
	flex: 1;
	padding: 0;
	position: relative; /* The panel spans this box, so it covers the width of the menu. */
	width: auto;
}

.wf-nav__list {
	align-items: stretch;
	display: flex;
	flex: 1;
	justify-content: space-evenly;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wf-nav__item {
	align-items: center;
	align-self: stretch;
	display: flex;
	list-style: none;
}

.wf-nav__link {
	color: #fff;
	font-size: 18px;
	padding: 8px 4px;
	white-space: nowrap;
}

.wf-nav__link:hover,
.wf-nav__item.is-open > .wf-nav__link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* Keyboard and touch way in; a mouse opens the panel by hovering. */
.wf-nav__toggle,
.wf-nav__toggle:hover,
.wf-nav__toggle:focus {
	background: none;
	border: 0;
	color: #fff;
	height: 24px;
	margin: 0 0 0 2px;
	min-height: 0;
	opacity: 0;
	padding: 0;
	position: relative;
	width: 14px;
}

.wf-nav__toggle:focus-visible {
	opacity: 1;
	outline: 2px solid #fff;
}

.wf-nav__toggle::after {
	border-bottom: 2px solid currentcolor;
	border-right: 2px solid currentcolor;
	content: "";
	height: 7px;
	left: 3px;
	position: absolute;
	top: 6px;
	transform: rotate(45deg);
	width: 7px;
}

@media (hover: none) {
	.wf-nav__toggle,
	.wf-nav__toggle:hover,
	.wf-nav__toggle:focus {
		opacity: 1;
	}
}

.wf-mega {
	background: #000;
	color: #fff;
	display: none;
	gap: 40px;
	grid-template-columns: 1fr minmax(0, 47%);
	left: 0;
	padding: 5px 16px 16px 48px;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 1000;
}

.wf-nav__item.is-open .wf-mega {
	display: grid;
}

.wf-mega__links {
	align-content: start;
	display: grid;
	gap: 0 40px;
	grid-auto-flow: column;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(5, auto);
	list-style: none;
	margin: 0;
	padding: 24px 0 0;
}

.wf-mega__links li {
	list-style: none;
}

.wf-mega__links a {
	color: #fff;
	display: block;
	font-size: 15px;
	line-height: 1.3;
	padding: 10px 0;
	text-transform: uppercase;
}

.wf-mega__links a:hover,
.wf-mega__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.wf-mega__image img {
	aspect-ratio: 417 / 245;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* Actions
---------------------------------------------------------------------------- */
div.wf-actions {
	align-self: center;
	flex-shrink: 0;
	gap: 18px;
	justify-content: flex-end;
	width: auto;
}

.wf-actions .custom-header-img {
	flex: 0 0 38px;
	margin: 0;
	min-width: 0;
}

.wf-actions .custom-header-img img {
	display: block;
	height: auto;
	width: 100%;
}

.wf-quote {
	align-items: center;
	border: 2px solid #fff;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 9px 14px;
	text-transform: uppercase;
	white-space: nowrap;
}

.wf-quote:hover,
.wf-quote:focus {
	background: #fff;
	color: #000;
}

.wf-quote__count {
	align-items: center;
	background: #8a8a8a;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 400;
	height: 18px;
	justify-content: center;
	min-width: 18px;
	padding: 0 3px;
}

.wf-actions button,
.wf-actions button:hover,
.wf-actions button:focus {
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	line-height: 1;
	margin: 0;
	min-height: 0;
	padding: 0;
}

.wf-actions button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.wf-actions .fa-search {
	color: #fff;
	font-size: 30px;
}

.wf-actions .fa-bars {
	color: #fff;
	font-size: 45px;
}

.site-header .ws_search_wrap .fa-times {
	color: #fff;
	cursor: pointer;
	font-size: 30px;
}

.site-header > .wrap.search_open #genesis-nav-primary.wf-nav {
	display: none;
}

.site-header > .wrap.search_open .ws_search_wrap {
	align-items: center;
	align-self: center;
	display: flex;
	flex: 1;
	gap: 15px;
	width: auto;
}

.site-header .ws_input_wrap {
	flex: 1;
}

.site-header .ws-search-field {
	border: 1px solid #707070;
	padding: 10px 5px;
	width: 100%;
}

/* Tablet and phone: no main nav, the hamburger opens the sidebar. */
@media (max-width: 1100px) {
	#genesis-nav-primary.wf-nav {
		display: none;
	}

	.site-header > .wrap {
		justify-content: space-between;
		padding: 0 16px;
		width: 100%;
	}
}

@media (max-width: 959px) {
	.site-header > .wrap {
		min-height: 0;
		padding: 16px;
	}

	.wf-actions .ws_top_search {
		display: none;
	}

	header.site-header .title-area {
		flex: 0 1 145px;
		width: auto;
	}

	div.wf-actions {
		gap: 14px;
	}

	.wf-actions .custom-header-img {
		flex-basis: 32px;
	}

	.wf-actions .fa-bars {
		font-size: 32px;
	}

	div.mobile_search.wf-mobile-search {
		background: #000;
		border: 0;
		padding: 0 16px 16px;
		position: sticky;
		top: 0;
		z-index: 998;
	}

	.wf-mobile-search .mobile-search {
		position: relative;
	}

	.wf-mobile-search .mobile-search input.ws-search-field {
		background: #fff;
		border-radius: 4px;
		color: #000;
		font-family: "Libre Baskerville", serif;
		font-size: 16px;
		padding: 10px 44px 10px 14px;
	}

	.wf-mobile-search .mobile-search .search-submit {
		color: #000;
		position: absolute;
		right: 12px;
		top: 50%;
		transform: translateY(-50%);
	}

	.wf-mobile-search .fa-search {
		-webkit-text-stroke: 0;
		color: #000;
	}
}

@media (max-width: 480px) {
	.wf-quote {
		font-size: 13px;
		gap: 8px;
		padding: 8px 10px;
	}
}

/* Client View
---------------------------------------------------------------------------- */
.vue-plugin-shell {
	margin: 0 auto;
	max-width: 1400px;
	padding: 70px 24px;
	width: 100%;
}

#vue-plugin-app {
	font-family: Cabin, sans-serif;
	margin-inline: auto;
}

#vue-plugin-app h1 {
	font-family: "Baskervville", serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: 12px;
}

#vue-plugin-app .product-breadcrumbs {
	display: none;
}

/* The old "Made by" button. The link stretches so the whole box is clickable. */
#vue-plugin-app .vuer-product-builders {
	border: 2px solid #707070;
	color: #707070;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.625;
	margin: 0 0 28px;
	padding: 5px 0;
	position: relative;
	text-align: center;
}

#vue-plugin-app .vuer-product-builders a {
	color: inherit;
	text-decoration: none;
}

#vue-plugin-app .vuer-product-builders a::after {
	content: "";
	inset: 0;
	position: absolute;
}

#vue-plugin-app .vuer-product-builders a:focus-visible {
	outline: 2px solid currentcolor;
	outline-offset: 2px;
}

#vue-plugin-app .product-dropdown__toggle {
	background: #fff;
	border: 1px solid #000;
	border-radius: 0;
	color: #333;
	font-family: Inter, Cabin, sans-serif;
	font-size: 18px;
	min-height: 46px;
	padding: 10px 14px;
	text-transform: uppercase;
}

#vue-plugin-app .description-dropdown,
#vue-plugin-app .product-variation-options__field {
	margin-bottom: 20px;
}

#vue-plugin-app .product-add-to-cart {
	background: #000;
	border: 1px solid #000;
	border-radius: 0;
	color: #fff;
	font-size: 18px;
	min-height: 46px;
	text-transform: uppercase;
}

#vue-plugin-app .product-add-to-cart:hover,
#vue-plugin-app .product-add-to-cart:focus {
	background: #333;
	border-color: #333;
	color: #fff;
}

#vue-plugin-app a.product-card,
#vue-plugin-app .product-card a:hover {
	text-decoration: none;
}

/* Smith Brothers
---------------------------------------------------------------------------- */
.wf-smith__filters {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0 0 40px;
}

.wf-smith__filter {
	align-items: center;
	border: 2px solid #ccc;
	color: #333;
	display: flex;
	font-size: 16px;
	gap: 12px;
	min-height: 54px;
	padding: 8px 14px;
	text-transform: uppercase;
}

.wf-smith__filter img {
	flex: 0 0 auto;
	height: 36px;
	object-fit: contain;
	width: 46px;
}

.wf-smith__filter:hover,
.wf-smith__filter:focus-visible {
	border-color: #000;
	color: #000;
}

.wf-smith__filter.is-active {
	border-color: #000;
	color: #000;
}

@media (max-width: 959px) {
	.wf-smith__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wf-smith__filter {
		font-size: 14px;
		gap: 8px;
		padding: 8px;
	}
}

/* Floor specials
---------------------------------------------------------------------------- */
.wf-floor-contact {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
}

.wf-floor-contact__phone {
	font-weight: 600;
}

/* Room landing pages
---------------------------------------------------------------------------- */
.wf-room-intro {
	margin: 0 auto;
	max-width: 1320px;
	padding: 0 24px;
	text-align: center;
}

.wf-room-landing .vue-plugin-shell h1 {
	display: none;
}

.wf-room-landing main.vue-plugin-shell {
	padding-top: 0;
}

/* The stock rule assumes a page-width parent; the catalog shell is narrower. */
.wf-room-landing .reuseable-blocks-container {
	margin-bottom: 0;
}

/* Design Center
---------------------------------------------------------------------------- */
.wf-dc {
	margin: 0 auto;
	max-width: 1320px;
	padding: 40px 24px 60px;
}

.wf-dc__filter {
	margin-bottom: 24px;
}

.wf-dc__filter select {
	cursor: pointer;
	max-width: 300px;
	width: 100%;
}

.wf-dc__filter + .wf-grid__count {
	margin-top: 0;
}

/* Shared product grid: Design Center and Upholstery
---------------------------------------------------------------------------- */
[data-wf-catalog] {
	scroll-margin-top: 140px;
}

[data-wf-catalog][aria-busy="true"] .wf-grid,
[data-wf-catalog][aria-busy="true"] .wf-grid__count {
	opacity: .5;
}

.wf-grid__count {
	color: #767676;
	font-size: 14px;
	margin-bottom: 16px;
}

ul.wf-grid {
	display: grid;
	gap: 40px 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.wf-grid li.wf-grid__card {
	list-style: none;
	margin: 0;
	text-align: center;
}

.wf-grid__card a {
	color: inherit;
	display: block;
	position: relative;
	text-decoration: none;
}

.wf-grid__card a:hover .wf-grid__name,
.wf-grid__card a:focus-visible .wf-grid__name {
	text-decoration: underline;
}

.wf-grid__icon {
	left: 8px;
	position: absolute;
	top: 8px;
	width: 28px;
}

.wf-grid__image {
	aspect-ratio: 1;
	display: block;
	height: auto;
	object-fit: contain;
	width: 100%;
}

.wf-grid__name {
	display: block;
	font-family: "Baskervville", serif;
	font-size: 18px;
	line-height: 1.25;
	margin-top: 12px;
}

.wf-grid__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 48px;
}

.wf-grid__pagination .page-numbers {
	background: #f5f5f5;
	color: #000;
	font-size: 15px;
	padding: 8px 14px;
	text-decoration: none;
}

.wf-grid__pagination a.page-numbers:hover,
.wf-grid__pagination a.page-numbers:focus-visible {
	background: #e2e2e2;
}

.wf-grid__pagination .page-numbers.current {
	background: #333;
	color: #fff;
}

@media (max-width: 959px) {
	ul.wf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Product page: same columns and spacing as the old page and the mockup.
---------------------------------------------------------------------------- */
main#primary.vue-plugin-shell-product-default {
	max-width: none;
	padding: 0 0 60px;
}

#vue-plugin-app.product-page {
	margin-inline: 0;
	max-width: none;
}

#vue-plugin-app.product-page .product-information {
	margin-top: 0;
}

#vue-plugin-app.product-page h1 {
	font-size: 30px;
	margin-bottom: 10px;
}

#vue-plugin-app.product-page .product-desktop-sticky-boundary {
	column-gap: 4%;
	grid-template-columns: minmax(0, 58%) minmax(0, 38%);
}

#vue-plugin-app.product-page .description-dropdown,
#vue-plugin-app.product-page .product-variation-options,
#vue-plugin-app.product-page .product-variation-options__field,
#vue-plugin-app.product-page .product-cta,
#vue-plugin-app.product-page .priced-cta,
#vue-plugin-app.product-page .product-add-to-cart {
	max-width: none;
	width: 100%;
}

#vue-plugin-app.product-page .product-thumbnails ul {
	gap: 0;
}

#vue-plugin-app.product-page .product-collection-includes h2 {
	text-transform: uppercase;
}

/* Same 90% width the old pages used on phones, without Client View's extra side inset. */
@media (max-width: 600px) {
	body.wf-cv-route:not(.fullwidth) .site-inner {
		width: 90%;
	}

	#vue-plugin-app.product-page {
		width: 100%;
	}
}
