/**
 * Faiza Baig & Co Brand System & Split Header Styling
 * Inspired by Pennies for a Fortune & Official Brand Guidelines
 * Version: 1.1.1 - Bulletproof Responsive & Collision-Free
 */
:root {
	--fb-ivory: #FFFFFF;
	--fb-linen: #F6F2ED;
	--fb-taupe: #A48E77;
	--fb-maroon: #6B2230;
	--fb-maroon-hover: #4E1822;
	--fb-dark-text: #1E1A19;
	--fb-body-text: #4A3F3A;
	--fb-border-color: #E6DED4;
	
	--fb-font-heading: 'Times Neue Roman', 'Times New Roman', Tinos, Georgia, serif;
	--fb-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	--fb-font-signature: 'Brittany', 'Mrs Saint Delafield', cursive;
}

/* ================== SPLIT HEADER WRAP ================== */
.fb-split-header-wrap {
	width: 100%;
	background-color: var(--fb-ivory);
	border-bottom: 1px solid var(--fb-border-color);
	padding: 22px 32px;
	position: relative;
	box-sizing: border-box;
	z-index: 99;
}

.fb-split-header-container {
	max-width: 1360px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	box-sizing: border-box;
}

/* Left Col: Hamburger */
.fb-header-col-left {
	flex: 0 0 50px;
	display: flex;
	align-items: center;
}

.fb-hamburger-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	outline: none;
}
.fb-hamburger-btn span {
	display: block;
	width: 22px;
	height: 1.8px;
	background-color: var(--fb-dark-text);
	transition: background-color 0.25s ease, transform 0.25s ease;
}
.fb-hamburger-btn:hover span {
	background-color: var(--fb-maroon);
}

/* Center Col: Split Nav + Logo */
.fb-header-col-center {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 36px;
	min-width: 0;
}

.fb-nav-bar {
	display: flex;
	align-items: center;
	flex-shrink: 1;
}

.fb-menu-list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}

.fb-menu-item {
	position: relative;
	flex-shrink: 0;
}

.fb-nav-link {
	font-family: var(--fb-font-body);
	font-size: 12.5px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--fb-dark-text);
	text-decoration: none;
	padding: 10px 4px;
	display: flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap !important;
	transition: color 0.25s ease;
}
.fb-nav-link:hover {
	color: var(--fb-maroon);
}
.fb-arrow-icon {
	font-size: 10px;
	opacity: 0.6;
}

/* Dropdown Sub-menu */
.fb-sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	background-color: #FFFFFF;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--fb-border-color);
	border-radius: 2px;
	list-style: none;
	padding: 12px 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 1000;
}
.fb-nav-right .fb-sub-menu {
	left: auto;
	right: 0;
}
.fb-has-dropdown:hover > .fb-sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.fb-sub-menu li a {
	display: block;
	padding: 9px 20px;
	font-family: var(--fb-font-body);
	font-size: 13px;
	color: var(--fb-dark-text);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
.fb-sub-menu li a:hover {
	background-color: var(--fb-linen);
	color: var(--fb-maroon);
}

/* Center Logo */
.fb-header-logo {
	text-align: center;
	padding: 0 16px;
	flex-shrink: 0;
}
.fb-header-logo a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.fb-brand-title {
	font-family: var(--fb-font-heading);
	font-size: 32px;
	letter-spacing: 0.04em;
	color: var(--fb-dark-text);
	line-height: 1.1;
	display: block;
	white-space: nowrap !important;
	transition: color 0.2s;
}
.fb-header-logo a:hover .fb-brand-title {
	color: var(--fb-maroon);
}
.fb-brand-tagline {
	font-family: var(--fb-font-body);
	font-size: 9.5px;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	color: var(--fb-taupe);
	display: block;
	margin-top: 5px;
	white-space: nowrap !important;
}

/* Right Col: Cart & Search */
.fb-header-col-right {
	flex: 0 0 70px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

.fb-header-icon-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--fb-dark-text);
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: color 0.25s ease, transform 0.2s ease;
}
.fb-header-icon-btn:hover {
	color: var(--fb-maroon);
	transform: scale(1.08);
}

/* ================== SEARCH OVERLAY ================== */
.fb-search-overlay {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #FFFFFF;
	box-shadow: 0 12px 32px rgba(0,0,0,0.08);
	border-bottom: 1px solid var(--fb-border-color);
	padding: 24px 32px;
	z-index: 999;
	box-sizing: border-box;
}
.fb-search-inner {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}
.fb-search-form {
	flex: 1;
	display: flex;
	align-items: center;
	border-bottom: 2px solid var(--fb-maroon);
	padding-bottom: 8px;
}
.fb-search-input {
	flex: 1;
	border: none;
	outline: none;
	font-family: var(--fb-font-body);
	font-size: 18px;
	color: var(--fb-dark-text);
	background: transparent;
}
.fb-search-submit {
	background: var(--fb-maroon);
	color: #FFFFFF;
	border: none;
	font-family: var(--fb-font-body);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 8px 18px;
	cursor: pointer;
	transition: background-color 0.2s;
}
.fb-search-submit:hover {
	background: var(--fb-maroon-hover);
}
.fb-search-close {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: var(--fb-taupe);
	transition: color 0.2s;
}
.fb-search-close:hover {
	color: var(--fb-maroon);
}

/* ================== OFFCANVAS DRAWER ================== */
.fb-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(30, 26, 25, 0.45);
	backdrop-filter: blur(2px);
	z-index: 999998;
}
.fb-offcanvas-drawer {
	position: fixed;
	top: 0;
	left: -400px;
	width: 380px;
	max-width: 88vw;
	height: 100vh;
	background: #FFFFFF;
	z-index: 999999;
	box-shadow: 4px 0 30px rgba(0,0,0,0.15);
	display: flex;
	flex-direction: column;
	transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	box-sizing: border-box;
}
.fb-offcanvas-drawer.active {
	left: 0;
}
.fb-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 28px;
	border-bottom: 1px solid var(--fb-border-color);
}
.fb-drawer-header .fb-brand-title {
	font-size: 22px;
}
.fb-drawer-close {
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
	color: var(--fb-dark-text);
	transition: color 0.2s;
}
.fb-drawer-close:hover {
	color: var(--fb-maroon);
}
.fb-drawer-content {
	flex: 1;
	overflow-y: auto;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.fb-drawer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fb-drawer-link-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.fb-drawer-link-wrap a {
	font-family: var(--fb-font-body);
	font-size: 13.5px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--fb-dark-text);
	text-decoration: none;
	transition: color 0.2s;
}
.fb-drawer-link-wrap a:hover {
	color: var(--fb-maroon);
}
.fb-accordion-toggle {
	background: none;
	border: none;
	font-size: 18px;
	cursor: pointer;
	color: var(--fb-taupe);
	padding: 4px 8px;
}
.fb-drawer-submenu {
	list-style: none;
	padding: 8px 0 8px 16px;
	margin: 0;
	border-left: 2px solid var(--fb-linen);
}
.fb-drawer-submenu li a {
	font-family: var(--fb-font-body);
	font-size: 13px;
	color: var(--fb-body-text);
	text-decoration: none;
	display: block;
	padding: 6px 0;
}
.fb-drawer-submenu li a:hover {
	color: var(--fb-maroon);
}

/* Newsletter Box */
.fb-drawer-newsletter {
	background: var(--fb-linen);
	padding: 24px 20px;
	border-radius: 4px;
}
.fb-drawer-news-title {
	font-family: var(--fb-font-signature);
	font-size: 36px;
	color: var(--fb-maroon);
	line-height: 1;
}
.fb-drawer-news-sub {
	font-family: var(--fb-font-body);
	font-size: 12px;
	color: var(--fb-body-text);
	margin-top: 6px;
	margin-bottom: 14px;
}
.fb-newsletter-simple {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1px solid var(--fb-border-color);
	border-radius: 2px;
}
.fb-newsletter-simple input {
	flex: 1;
	border: none;
	padding: 10px 12px;
	font-size: 12.5px;
	outline: none;
}
.fb-newsletter-simple button {
	background: var(--fb-maroon);
	color: #FFFFFF;
	border: none;
	padding: 10px 14px;
	cursor: pointer;
}

/* Social List */
.fb-drawer-socials .fb-social-title {
	font-family: var(--fb-font-body);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--fb-taupe);
	margin-bottom: 12px;
}
.fb-social-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fb-social-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	background: var(--fb-linen);
	text-decoration: none;
	color: var(--fb-dark-text);
	font-family: var(--fb-font-body);
	font-size: 12px;
	border-radius: 2px;
	transition: background-color 0.2s;
}
.fb-social-item:hover {
	background: #EAE3D8;
}
.fb-social-count {
	font-weight: 600;
	color: var(--fb-maroon);
}

/* ================== COLLISION-FREE RESPONSIVE BREAKPOINTS ================== */

/* 1. Medium Laptops / Small Desktops (1025px - 1220px): Compress gaps gracefully */
@media (min-width: 1025px) and (max-width: 1220px) {
	.fb-split-header-wrap {
		padding: 18px 20px;
	}
	.fb-header-col-center {
		gap: 20px;
	}
	.fb-menu-list {
		gap: 16px;
	}
	.fb-nav-link {
		font-size: 11.5px;
		letter-spacing: 0.14em;
	}
	.fb-brand-title {
		font-size: 26px;
	}
	.fb-brand-tagline {
		font-size: 8.5px;
		letter-spacing: 0.28em;
	}
}

/* 2. Tablets & Mobile Breakpoint (<= 1024px): Seamless Compact Mobile Header */
@media (max-width: 1024px) {
	.fb-nav-left, .fb-nav-right {
		display: none !important;
	}
	.fb-split-header-wrap {
		padding: 16px 20px;
	}
	.fb-split-header-container {
		justify-content: space-between;
	}
	.fb-header-col-left {
		flex: 0 0 44px;
	}
	.fb-header-col-center {
		justify-content: center;
	}
	.fb-header-col-right {
		flex: 0 0 68px;
		gap: 14px;
	}
	.fb-brand-title {
		font-size: 22px;
	}
	.fb-brand-tagline {
		font-size: 8px;
		letter-spacing: 0.24em;
	}
}

/* 3. Small Smartphones (<= 480px): Extra Protection Against Squeezing */
@media (max-width: 480px) {
	.fb-split-header-wrap {
		padding: 14px 16px;
	}
	.fb-header-col-left {
		flex: 0 0 36px;
	}
	.fb-header-col-right {
		flex: 0 0 58px;
		gap: 10px;
	}
	.fb-brand-title {
		font-size: 18px;
	}
	.fb-brand-tagline {
		font-size: 7px;
		letter-spacing: 0.2em;
	}
}


/* ================== ELEMENTOR DYNAMIC ARCHIVE HERO FIX ================== */
/* Fixes Elementor's known dynamic background tag omission bug */
.elementor-location-archive [data-element_type="container"],
.elementor-383 .elementor-element-230a870,
.fb-category-hero-container {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}
