/* ==========================================================================
   Maison Brivo – Site header (loaded site-wide)
   ========================================================================== */


/* ---------- Body background (mockup crème) ---------- */
body,
.ast-plain-container .site-content,
#content {
	background-color: #F5F1E9 !important;
}

/* No horizontal page scroll — full-bleed 100vw sections would otherwise
   push the page wider than the viewport */
html,
body {
	overflow-x: hidden;
	overflow-x: clip;
}

/* ---------- Announcement bar ---------- */
.mb-annonce {
	background: #2B211C;
	color: #EFE8DD;
	text-align: center;
	font-family: 'Figtree', system-ui, sans-serif;
	font-size: 12.5px;
	letter-spacing: .08em;
	padding: 9px 16px;
	font-weight: 500;
}

/* ---------- Header ---------- */
.mb-header {
	background: #F5F1E9;
	border-bottom: 1px solid #E2DACC;
	position: sticky;
	top: 0;
	z-index: 50;
}

body.admin-bar .mb-header {
	top: 0;
}

.mb-header-row {
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mb-logo {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
	font-size: 21px;
	letter-spacing: .03em;
	color: #2B211C;
	text-decoration: none;
}

.mb-logo:hover,
.mb-logo:focus {
	color: #2B211C;
}

.mb-logo span {
	color: #B0764A;
}

.mb-header-right {
	display: flex;
	align-items: center;
	gap: 22px;
}

/* ---------- Nav ---------- */
.mb-nav-list {
	display: flex;
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: 'Figtree', system-ui, sans-serif;
	font-size: 13.5px;
	font-weight: 500;
}

.mb-nav-list a {
	color: #4A3E36;
	text-decoration: none;
}

.mb-nav-list a:hover,
.mb-nav-list a:focus,
.mb-nav-list .current-menu-item > a {
	color: #2B211C;
}

/* ---------- Cart button ---------- */
.mb-cart-btn {
	position: relative;
	display: inline-block;
	background: #FCFAF6;
	border: 1.5px solid #E2DACC;
	border-radius: 10px;
	padding: 8px 14px;
	font-family: 'Figtree', system-ui, sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #2B211C;
	text-decoration: none;
}

.mb-cart-btn:hover,
.mb-cart-btn:focus {
	color: #2B211C;
	border-color: #B0764A;
}

/* Hide CartPops' own floating bubble — the header button opens the drawer instead. */
div#cpops-floating-cart.cpops-toggle-drawer {
	display: none !important;
}

.mb-cart-bulle {
	position: absolute;
	top: -7px;
	right: -7px;
	background: #B0764A;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Hamburger + mobile nav ---------- */
.mb-burger {
	display: none;
	background: none;
	border: 0;
	padding: 6px 2px;
	cursor: pointer;
	flex-direction: column;
	gap: 5px;
}

.mb-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #2B211C;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.mb-burger.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mb-burger.is-open span:nth-child(2) {
	opacity: 0;
}

.mb-burger.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mb-mobile-nav {
	display: none;
	background: #F5F1E9;
	border-top: 1px solid #E2DACC;
}

.mb-mobile-nav-list {
	list-style: none;
	margin: 0;
	padding: 8px 16px 14px;
	font-family: 'Figtree', system-ui, sans-serif;
	font-size: 15px;
	font-weight: 500;
}

.mb-mobile-nav-list a {
	display: block;
	padding: 11px 4px;
	color: #4A3E36;
	text-decoration: none;
	border-bottom: 1px solid #EAE3D6;
}

.mb-mobile-nav-list li:last-child a {
	border-bottom: 0;
}

.mb-mobile-nav-list a:hover,
.mb-mobile-nav-list a:focus,
.mb-mobile-nav-list .current-menu-item > a {
	color: #2B211C;
}

/* ---------- FAQ (Questions page) ---------- */
.mb-faq {
	max-width: 760px;
	margin: 0 auto;
	padding: 10px 0 30px;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-faq-head {
	text-align: center;
	margin-bottom: 22px;
}

.mb-faq-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #B0764A;
}

.mb-faq-head h2 {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: #2B211C;
	margin: 8px 0 0;
}

.mb-faq details {
	border-bottom: 1px solid #E2DACC;
	padding: 16px 4px;
}

.mb-faq summary {
	font-weight: 600;
	font-size: 15.5px;
	color: #2B211C;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.mb-faq summary::-webkit-details-marker {
	display: none;
}

.mb-faq summary::after {
	content: "+";
	color: #B0764A;
	font-family: 'Fraunces', Georgia, serif;
	font-size: 20px;
	line-height: 1;
	flex: 0 0 auto;
}

.mb-faq details[open] summary::after {
	content: "–";
}

.mb-faq details p {
	color: #4A3E36;
	font-size: 14.5px;
	line-height: 1.6;
	margin: 10px 0 2px;
	max-width: 65ch;
}

/* ---------- Footer ---------- */
.mb-footer {
	background: #221A15;
	color: #CBBFAF;
	text-align: center;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-footer-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 38px 24px 26px;
}

.mb-footer-brand {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 21px;
	font-weight: 600;
	color: #F7F1E7;
	margin-bottom: 8px;
}

.mb-footer-brand span {
	color: #B0764A;
}

.mb-footer-content {
	font-size: 13px;
	line-height: 1.6;
}

.mb-footer-content p {
	margin: 6px 0 0;
}

.mb-footer-content a {
	color: #CBBFAF;
	text-decoration: none;
}

.mb-footer-content a:hover,
.mb-footer-content a:focus {
	color: #F7F1E7;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {

	.ast-container,
	.ast-container-fluid {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}

	.mb-footer-inner {
		padding: 30px 16px 22px;
	}

	.mb-annonce {
		font-size: 11px;
		letter-spacing: .04em;
		padding: 8px 12px;
	}

	.mb-header-row {
		padding: 12px;
	}

	.mb-header-right {
		gap: 12px;
	}

	.mb-nav {
		display: none;
	}

	.mb-burger {
		display: flex;
	}

	.mb-mobile-nav.is-open {
		display: block;
	}

	.mb-footer-inner {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media screen and (max-width: 782px) {

	body.admin-bar .mb-header {
		top: 0;
	}
}

/* ==========================================================================
   CartPops drawer — mockup reskin
   ========================================================================== */

#cartpops-drawer,
#cartpops-drawer .cpops-panel {
	background: #F5F1E9 !important;
	font-family: 'Figtree', system-ui, sans-serif;
}

/* Header — full-bleed so the divider spans the whole drawer width */
#cartpops-drawer .cpops-drawer-header {
	background: #F5F1E9 !important;
	border-bottom: 1px solid #E2DACC !important;
	margin: 0 -20px !important;
	padding-left: 20px !important;
	padding-right: 20px !important;
}

@media (max-width: 544px) {
	#cartpops-drawer .cpops-drawer-header {
		margin: 0 -14px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
}

#cartpops-drawer .cpops-drawer-header__title span {
	font-family: 'Fraunces', Georgia, serif !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	color: #2B211C !important;
}

/* Item cards */
#cartpops-drawer .cpops-cart-item {
	position: relative;
	background: #FCFAF6 !important;
	border: 1px solid #E2DACC !important;
	border-radius: 14px !important;
	margin: 14px 14px 0 !important;
	padding: 14px !important;
}

#cartpops-drawer .cpops-cart-item__container {
	display: flex !important;
	align-items: flex-start !important;
	gap: 14px !important;
	background: transparent !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

#cartpops-drawer .cpops-cart-item__image {
	flex: 0 0 84px;
}

#cartpops-drawer .cpops-cart-item__image img {
	display: block;
	width: 84px !important;
	height: 84px !important;
	object-fit: cover;
	border-radius: 10px !important;
	border: 1px solid #E2DACC;
}

#cartpops-drawer .cpops-cart-item__product {
	flex: 1 1 auto !important;
	min-width: 0;
}

#cartpops-drawer .cpops-cart-item__product--name,
#cartpops-drawer .cpops-cart-item__product--name a {
	font-weight: 700 !important;
	font-size: 14.5px !important;
	line-height: 1.35 !important;
	color: #2B211C !important;
	text-decoration: none !important;
	padding-right: 18px;
}

#cartpops-drawer .mb-item-meta {
	font-size: 12.5px;
	color: #8A7C6E;
	margin-top: 4px;
}

#cartpops-drawer .mb-item-price {
	margin-top: 8px;
	display: flex;
	align-items: baseline;
	gap: 8px;
}

#cartpops-drawer .mb-item-now .woocommerce-Price-amount {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	color: #2B211C;
}

#cartpops-drawer .mb-item-was,
#cartpops-drawer .mb-item-was .woocommerce-Price-amount {
	font-family: 'Figtree', system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #9A8D80;
}

/* No quantity selector in the drawer */
#cartpops-drawer .cpops-cart-item__quantity-selector {
	display: none !important;
}

/* Remove button — subtle ×, top-right of the card */
#cartpops-drawer .cpops-cart-item__actions {
	position: absolute;
	top: 12px;
	right: 12px;
	margin: 0 !important;
	padding: 0 !important;
}

#cartpops-drawer .cpops-cart-item__actions--remove {
	background: transparent !important;
	border: 0 !important;
	padding: 4px !important;
	cursor: pointer;
	line-height: 0;
}

#cartpops-drawer .cpops-cart-item__actions--remove svg {
	width: 9px;
	height: 9px;
	fill: #9A8D80;
}

#cartpops-drawer .cpops-cart-item__actions--remove:hover svg {
	fill: #2B211C;
}

/* Inclus box */
.mb-drawer-inclus {
	margin: 14px 14px;
	background: #E3E8DE;
	border: 1px solid rgba(92, 122, 78, .22);
	border-radius: 14px;
	padding: 16px 18px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #43523B;
	display: grid;
	gap: 9px;
}

.mb-drawer-inclus div::before {
	content: "✓ ";
	color: #5C7A4E;
	font-weight: 700;
}

/* Footer — full-bleed white panel (the drawer itself has 20px side padding) */
#cartpops-drawer .cpops-drawer-footer {
	background: #FCFAF6 !important;
	border-top: 1px solid #E2DACC !important;
	margin: 0 -20px !important;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 544px) {
	#cartpops-drawer .cpops-drawer-footer {
		margin: 0 -14px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
}

/* Hide what the mockup doesn't have */
#cartpops-drawer .cpops-coupon-form,
#cartpops-drawer .cpops-drawer-coupon,
#cartpops-drawer .cpops-cart-line-items,
#cartpops-drawer .cpops-powered-by,
#cartpops-drawer a[href*="cartpops.com"] {
	display: none !important;
}

/* Custom totals rows */
.mb-drawer-totals {
	padding: 4px 2px 0;
}

.mb-drawer-line {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 4px;
	color: #4A3E36;
}

.mb-drawer-line s {
	color: #9A8D80;
}

.mb-drawer-offert {
	color: #5C7A4E;
	font-weight: 700;
}

.mb-drawer-line--grand {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 19px;
	font-weight: 600;
	color: #2B211C;
	margin-top: 2px;
}

.mb-drawer-line--grand .woocommerce-Price-amount {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 600;
}

/* Checkout button */
#cartpops-drawer .wc-proceed-to-checkout .checkout-button {
	background: #2B211C !important;
	color: #F7F1E7 !important;
	border-radius: 12px !important;
	padding: 17px !important;
	font-family: 'Figtree', system-ui, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .03em;
	text-align: center;
}

#cartpops-drawer .wc-proceed-to-checkout .checkout-button:hover {
	opacity: .92;
}

/* Note under the button */
.mb-drawer-note {
	text-align: center;
	font-size: 11px;
	color: #8A7C6E;
	margin-top: 8px;
}

/* Mobile — full-width drawer, compact everything */
@media (max-width: 544px) {

	#cartpops-drawer {
		max-width: 100% !important;
		width: 100% !important;
	}

	#cartpops-drawer .cpops-drawer-header__title span {
		font-size: 17px !important;
	}

	/* Item card */
	#cartpops-drawer .cpops-cart-item {
		margin: 10px 0 0 !important;
		padding: 10px !important;
		border-radius: 12px !important;
	}

	#cartpops-drawer .cpops-cart-item__container {
		gap: 10px !important;
	}

	#cartpops-drawer .cpops-cart-item__image {
		flex-basis: 64px;
	}

	#cartpops-drawer .cpops-cart-item__image img {
		width: 64px !important;
		height: 64px !important;
	}

	#cartpops-drawer .cpops-cart-item__product--name,
	#cartpops-drawer .cpops-cart-item__product--name a {
		font-size: 13px !important;
	}

	#cartpops-drawer .mb-item-meta {
		font-size: 11.5px;
		margin-top: 2px;
	}

	#cartpops-drawer .mb-item-price {
		margin-top: 5px;
	}

	#cartpops-drawer .mb-item-now .woocommerce-Price-amount {
		font-size: 17px;
	}

	#cartpops-drawer .mb-item-was,
	#cartpops-drawer .mb-item-was .woocommerce-Price-amount {
		font-size: 12px;
	}

	/* Inclus box */
	.mb-drawer-inclus {
		margin: 10px 0;
		padding: 11px 13px;
		border-radius: 12px;
		font-size: 12px;
		line-height: 1.45;
		gap: 6px;
	}

	/* Footer */
	#cartpops-drawer .cpops-drawer-footer {
		padding-top: 10px !important;
		padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
	}

	.mb-drawer-line {
		font-size: 13px;
		margin-bottom: 3px;
	}

	.mb-drawer-line--grand {
		font-size: 17px;
	}

	#cartpops-drawer .wc-proceed-to-checkout .checkout-button {
		padding: 13px !important;
		font-size: 14px !important;
		border-radius: 11px !important;
	}

	.mb-drawer-note {
		font-size: 10.5px;
		margin-top: 6px;
	}
}
