.footer-btns .btn-brand,
.footer-btns .btn-gallery,
.footer-btns .btn-select {
	margin: 0;
	padding: 0;
	width: 100%;
}

.footer-btns .brand-icon-btn {
	border-radius: 0;
}

.footer-btns > :first-child .brand-icon-btn {
	border-radius: 6px 0 0 6px;
}

.footer-btns > :last-child .brand-icon-btn {
	border-radius: 0 6px 6px 0;
}

.footer-btns > :not(:last-child) .brand-icon-btn {
	border-right: 1px solid #999;
}

.footer-btns .ebc-select-product[aria-pressed="true"] {
	background: #c58b2b;
	color: #fff;
}

.footer-btns .ebc-select-product[aria-pressed="true"]:hover,
.footer-btns .ebc-select-product[aria-pressed="true"]:focus-visible {
	background: #b07a24;
	border: none;
}

.wpgb-card.ebc-is-selected .wpgb-card-inner,
.wpgb-card-5.ebc-is-selected .wpgb-card-inner {
	border-color: #c58b2b;
	box-shadow: 0 0 0 2px #c58b2b;
}

.wpgb-card-5 .wpgb-block-2.ebc-desc-ready {
	margin-bottom: 8px;
}

.wpgb-card-5 .ebc-desc__text {
	margin: 0;
}

.wpgb-card-5 .wpgb-block-2.ebc-desc-ready:not(.ebc-desc-open) .ebc-desc__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.wpgb-card-5 .wpgb-block-2.ebc-desc-open .ebc-desc__text {
	display: block;
	overflow: visible;
}

.wpgb-card-5.ebc-desc-open,
.wpgb-card-5.ebc-desc-open .wpgb-card-inner {
	overflow: visible;
}

.wpgb-card-5 .ebc-desc__toggle {
	display: inline-block;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: #c58b2b;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wpgb-card-5 .ebc-desc__toggle:hover,
.wpgb-card-5 .ebc-desc__toggle:focus-visible {
	color: #0c232d;
}

.wpgb-card-5 .ebc-desc__toggle[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.wpgb-card-5 .wpgb-block-2.ebc-desc-ready:not(.ebc-desc-open) .ebc-desc__text {
		-webkit-line-clamp: 2;
	}
}

.ebc-inquiry-bar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99990;
	background: #0c232d;
	color: #fff;
	box-shadow: 0 -8px 24px rgba(12, 35, 45, 0.18);
}

.ebc-inquiry-bar[hidden] {
	display: none !important;
}

.ebc-inquiry-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 20px;
}

.ebc-inquiry-bar__summary {
	display: flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
}

.ebc-inquiry-bar__count {
	font-size: 1.25em;
	color: #c58b2b;
}

.ebc-inquiry-bar__chips {
	display: flex;
	flex: 1 1 220px;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ebc-inquiry-bar__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 220px;
	padding: 4px 8px 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 13px;
}

.ebc-inquiry-bar__chip span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ebc-inquiry-bar__chip button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.ebc-inquiry-bar__actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.ebc-inquiry-bar__clear,
.ebc-inquiry-bar__request {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.ebc-inquiry-bar__clear {
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #fff;
}

.ebc-inquiry-bar__request {
	border: 0;
	background: #c58b2b;
	color: #fff !important;
}

.ebc-inquiry-bar__request:hover {
	background: #b07a24;
}

.ebc-product-inquiry {
	max-width: 760px;
	margin: 48px auto 24px;
	padding: 0 20px 80px;
	color: #0c232d;
}

.ebc-product-inquiry[hidden] {
	display: none !important;
}

.ebc-product-inquiry h2 {
	margin: 0 0 8px;
	text-align: center;
}

.ebc-product-inquiry > p {
	margin: 0 0 24px;
	text-align: center;
}

.ebc-selected-preview {
	margin: 0 0 16px;
	padding: 14px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #f7f7f7;
}

.ebc-selected-preview__empty {
	margin: 0;
	color: #666;
}

.ebc-selected-preview ul {
	margin: 8px 0 0;
	padding-left: 1.2em;
}

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

body.ebc-inquiry-bar-visible #page-container,
body.ebc-inquiry-bar-visible #main-content {
	padding-bottom: 88px;
}

@media (max-width: 767px) {
	.ebc-inquiry-bar__inner {
		padding: 10px 14px 14px;
	}

	.ebc-inquiry-bar__chips {
		display: none;
	}

	.ebc-inquiry-bar__actions {
		width: 100%;
	}

	.ebc-inquiry-bar__clear,
	.ebc-inquiry-bar__request {
		flex: 1;
	}
}

/* Tablet / phone filter drawer */
.ebc-filter-bar {
	display: none;
}

.ebc-filter-drawer-header {
	display: none;
}

.ebc-filter-backdrop {
	display: none;
}

.ebc-filter-layer,
.ebc-filter-drawer {
	display: none;
}

@media (max-width: 980px) {
	.ebc-filter-bar {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin: 0 0 16px;
		padding: 0 0 8px;
		position: relative;
		z-index: 5;
		background: transparent;
	}

	.ebc-filter-bar__row {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		width: 100%;
	}

	.ebc-filter-bar__locations,
	.ebc-loc-pill {
		display: none !important;
	}

	.ebc-filter-bar__selection .wpgb-facet {
		margin: 0;
	}

	.ebc-filter-bar__selection .wpgb-facet fieldset:last-child {
		margin-bottom: 0;
	}

	.ebc-filter-icon {
		display: block;
		width: 16px;
		height: 16px;
		flex: 0 0 16px;
	}

	.ebc-filter-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		flex: 0 0 auto;
		margin-left: 0;
		height: 40px;
		min-height: 40px;
		padding: 8px 14px;
		border: 0;
		border-radius: 6px;
		background: #0c232d;
		color: #fff;
		font: inherit;
		font-weight: 600;
		cursor: pointer;
		white-space: nowrap;
	}

	.ebc-filter-toggle__count {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 22px;
		height: 22px;
		padding: 0 6px;
		border-radius: 999px;
		background: #c58b2b;
		color: #fff;
		font-size: 12px;
	}

	.ebc-filter-toggle__count[hidden] {
		display: none !important;
	}

	.ebc-has-filter-drawer.wpgb-wrapper {
		flex-direction: column;
	}

	.ebc-filter-layer {
		display: none;
		position: fixed;
		inset: 0;
		z-index: 1000000;
		pointer-events: none;
	}

	body.ebc-filters-open .ebc-filter-layer {
		display: block;
		pointer-events: auto;
	}

	.ebc-filter-backdrop {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(12, 35, 45, 0.45);
		pointer-events: auto;
	}

	.ebc-filter-drawer {
		display: flex;
		position: absolute;
		top: 0;
		left: 0;
		right: auto;
		bottom: 0;
		z-index: 2;
		flex-direction: column;
		width: min(400px, 92vw);
		max-width: 100%;
		background: #fff;
		box-shadow: 8px 0 24px rgba(12, 35, 45, 0.18);
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		overflow: hidden;
		pointer-events: auto;
	}

	body.ebc-filters-open .ebc-filter-drawer {
		transform: translateX(0);
	}

	.ebc-filter-drawer .wpgb-sidebar-left {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		order: 1;
		width: 100%;
		margin: 0 !important;
		padding: 0 !important;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		flex-basis: auto !important;
		flex-grow: 1 !important;
		min-width: 0;
	}

	.ebc-filter-drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		flex-shrink: 0;
		padding: 16px 20px;
		position: sticky;
		top: 0;
		z-index: 1;
		border-bottom: 1px solid #e5e5e5;
		background: #fff;
	}

	.ebc-filter-drawer-header h2 {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0;
		font-size: 20px;
		color: #0c232d;
	}

	.ebc-filter-drawer-header .ebc-filter-icon {
		width: 20px;
		height: 20px;
		flex-basis: 20px;
	}

	.ebc-filter-drawer__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 6px;
		background: transparent;
		color: #0c232d;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}

	.ebc-filter-drawer .ebc-acc {
		border-bottom: 1px solid #e5e5e5;
	}

	.ebc-filter-drawer .ebc-acc__btn {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 56px;
		padding: 14px 20px;
		border: 0;
		background: #fff;
		color: #0c232d;
		font: inherit;
		font-size: 16px;
		font-weight: 700;
		text-align: left;
		cursor: pointer;
		gap: 8px;
	}

	.ebc-filter-drawer .ebc-acc__label {
		flex: 1 1 auto;
	}

	.ebc-filter-drawer .ebc-acc__mark {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 18px;
		height: 18px;
		border-radius: 50%;
		background: #c58b2b;
		color: #fff;
		line-height: 0;
	}

	.ebc-filter-drawer .ebc-acc__mark .ebc-check-icon,
	.ebc-filter-drawer .ebc-check-icon {
		display: block;
		width: 11px;
		height: 11px;
	}

	.ebc-filter-drawer .ebc-acc__mark[hidden] {
		display: none !important;
	}

	.ebc-filter-drawer .ebc-acc__chevron {
		width: 8px;
		height: 8px;
		margin-left: 8px;
		border-right: 2px solid #0c232d;
		border-bottom: 2px solid #0c232d;
		transform: rotate(45deg);
		transition: transform 0.2s ease;
	}

	.ebc-filter-drawer .ebc-acc--open .ebc-acc__chevron {
		transform: rotate(-135deg);
		margin-top: 4px;
	}

	.ebc-filter-drawer .ebc-acc:not(.ebc-acc--open) .ebc-acc__panel {
		display: none !important;
	}

	.ebc-filter-drawer .ebc-acc__panel {
		padding: 0 20px 16px;
		max-width: 100%;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-facet-title,
	.ebc-filter-drawer .ebc-acc__panel fieldset legend {
		display: none !important;
	}

	.ebc-filter-drawer .ebc-acc__panel fieldset:last-child {
		margin-bottom: 0;
	}

	.ebc-filter-drawer .wpgb-hierarchical-list,
	.ebc-filter-drawer .wpgb-checkbox-facet {
		display: flex !important;
		flex-direction: column !important;
		gap: 3px !important;
		margin: 0 !important;
		padding: 0 !important;
		max-width: 100%;
	}

	.ebc-filter-drawer .wpgb-hierarchical-list li {
		margin: 0 0 3px !important;
		padding: 0 !important;
		list-style: none;
	}

	.ebc-filter-drawer .wpgb-hierarchical-list li:last-child {
		margin-bottom: 0 !important;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 44px;
		margin: 0 !important;
		padding: 10px 18px 10px 14px;
		border: 1px solid #c8c8c8;
		border-radius: 6px;
		background: #fff;
		color: #0c232d;
		font-size: 15px;
		line-height: 1.3;
		box-sizing: border-box;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox-label {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex: 1 1 auto;
		min-width: 0;
		padding-right: 4px;
		font-size: 15px;
		white-space: normal;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox-control,
	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox-control:before,
	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox-control:after {
		display: none !important;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox[aria-pressed="true"] {
		border-color: #0c232d;
		background: #f4f6f7;
		box-shadow: inset 0 0 0 1px #0c232d;
	}

	.ebc-filter-drawer .ebc-acc__panel .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-label::after {
		content: "";
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
		margin-left: 12px;
		border-radius: 50%;
		background-color: #c58b2b;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 11px 11px;
	}

	.ebc-filter-drawer-footer {
		display: flex;
		flex-direction: column;
		gap: 10px;
		flex-shrink: 0;
		order: 2;
		padding: 12px 20px 20px;
		border-top: 1px solid #e5e5e5;
		background: #fff;
	}

	.ebc-filter-drawer-footer [data-facet="10"] {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
	}

	.ebc-filter-clear-all {
		align-self: flex-start;
		padding: 0;
		border: 0;
		background: none;
		color: #0c232d;
		font: inherit;
		font-size: 14px;
		text-decoration: underline;
		cursor: pointer;
	}

	.ebc-filter-view {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		border: 0;
		border-radius: 6px;
		background: #c58b2b;
		color: #fff;
		font: inherit;
		font-size: 16px;
		font-weight: 700;
		cursor: pointer;
	}

	body.ebc-filters-open {
		overflow: hidden;
	}
}

@media (min-width: 981px) {
	.ebc-acc__btn,
	.ebc-filter-drawer-footer {
		display: none !important;
	}
}
