.bb-storefront-shell {
	--bb-ink: #191311;
	--bb-gold: #ad7837;
	--bb-line: #e4cfb3;
	--bb-paper: #fbf7f2;
	--bb-nav: #f7eee6;
	--bb-serif: Georgia, "Times New Roman", serif;
}

.bb-storefront-shell :is(#masthead, #colophon) a:focus-visible,
.bb-storefront-shell .bb-search :is(input, button):focus-visible {
	outline: 2px solid #83541f;
	outline-offset: 4px;
}

.bb-storefront-shell #masthead,
.bb-storefront-shell #masthead .site-header-row-container-inner {
	color: var(--bb-ink);
	background: #fffdfb;
}

.bb-storefront-shell :is(#masthead, #colophon) .site-container {
	max-width: 1560px;
	padding-inline: clamp(22px, 4vw, 72px);
}

.bb-storefront-shell .site-main-header-inner-wrap.site-header-row-center-column {
	grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
	align-items: center;
	min-height: 0;
	padding-block: clamp(9px, .85vw, 14px);
}

.bb-storefront-shell .site-header-main-section-left,
.bb-storefront-shell .site-header-main-section-right {
	align-self: center;
	align-items: center;
	min-width: 0;
}

.bb-storefront-shell .site-header-main-section-right {
	gap: clamp(12px, 2vw, 34px);
}

.bb-brand-link {
	display: block;
	color: var(--bb-ink);
	text-decoration: none;
}

.bb-brand {
	position: relative;
	isolation: isolate;
	display: grid;
	justify-items: center;
	width: min(43vw, 600px);
	padding-top: 17%;
	color: var(--bb-ink);
}

.bb-brand__monogram {
	position: absolute;
	z-index: -1;
	inset: 0 auto auto 50%;
	width: 65%;
	aspect-ratio: 720 / 307;
	transform: translateX(-50%);
	background: #dbb37d;
	opacity: .56;
	mask: url("assets/monogram.png") center / contain no-repeat;
}

.bb-brand__wordmark {
	display: block;
	width: 100%;
	height: auto;
}

.bb-brand__tagline {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(8px, 1.1vw, 18px);
	width: 100%;
	margin-top: .5em;
	text-align: center;
	font: 700 clamp(10px, 1.4vw, 21px)/1.2 var(--bb-serif);
	letter-spacing: .21em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bb-brand__tagline::before,
.bb-brand__tagline::after {
	flex: 1;
	max-width: 85px;
	height: 1px;
	background: var(--bb-gold);
	content: "";
}

.bb-search {
	display: flex;
	align-items: center;
	align-self: center;
	gap: 9px;
	width: min(100%, 245px);
	min-height: 44px;
	border-bottom: 1px solid var(--bb-gold);
}

.bb-search button,
.bb-header-account {
	display: inline-grid;
	flex: 0 0 auto;
	align-self: center;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--bb-ink);
}

.bb-search button:hover,
.bb-header-account:hover {
	background: var(--bb-nav);
	color: #795021;
	box-shadow: none;
}

.bb-search button .kadence-svg-iconset,
.bb-header-account .kadence-svg-iconset {
	font-size: 1.45rem;
}

.bb-storefront-shell .bb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 43px;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--bb-ink);
	font: 400 clamp(15px, 1.36vw, 19px)/1.2 var(--bb-serif);
}

.bb-storefront-shell .bb-search input[type="search"]::placeholder {
	color: #544a43;
	opacity: 1;
}

.bb-storefront-shell :is(#main-header, #mobile-header) .header-cart-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	gap: 0;
	padding: 0;
	color: var(--bb-ink);
}

.bb-storefront-shell .header-cart-button .kadence-svg-iconset {
	font-size: 26px;
}

.bb-storefront-shell :is(#main-header, #mobile-header) .header-cart-total {
	position: absolute;
	top: 1px;
	right: -4px;
	display: inline-grid;
	place-items: center;
	min-width: 19px;
	height: 19px;
	margin: 0;
	padding: 0 4px;
	border-radius: 999px;
	background: #875820;
	color: #fff;
	font: 700 11px/1 sans-serif;
}

.bb-storefront-shell .header-cart-label {
	display: none;
}

.bb-storefront-shell #main-header .site-bottom-header-wrap .site-header-row-container-inner,
.bb-storefront-shell #mobile-header .site-bottom-header-wrap .site-header-row-container-inner {
	background: var(--bb-nav);
	border-block: 1px solid #eddfd1;
}

.bb-storefront-shell #main-header .site-bottom-header-inner-wrap {
	min-height: 57px;
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul {
	justify-content: center;
	gap: clamp(7px, 1.5vw, 25px);
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 55px;
	padding-inline: clamp(7px, .65vw, 13px);
	background: transparent;
	color: var(--bb-ink);
	font: 700 clamp(12px, 1.18vw, 17px)/1.1 var(--bb-serif);
	letter-spacing: .025em;
	text-transform: uppercase;
	white-space: nowrap;
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a:is(:hover, :focus-visible),
.bb-storefront-shell #site-navigation .primary-menu-container > ul > li.current-menu-item > a {
	background: transparent;
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a::after {
	position: absolute;
	inset: auto 8px 7px;
	height: 2px;
	background: var(--bb-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .16s ease;
	content: "";
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li:is(.current-menu-item, .current-menu-ancestor) > a::after,
.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a:is(:hover, :focus-visible)::after {
	transform: scaleX(1);
}

.bb-storefront-shell #site-navigation .sub-menu,
.bb-storefront-shell #mobile-drawer .drawer-inner {
	background: #fffdfb;
	color: var(--bb-ink);
}

.bb-storefront-shell #site-navigation .sub-menu a,
.bb-storefront-shell #mobile-drawer a,
.bb-storefront-shell #mobile-drawer button {
	color: var(--bb-ink);
}

.bb-storefront-shell #colophon,
.bb-storefront-shell #colophon .site-footer-row-container-inner {
	background: var(--bb-paper);
	color: var(--bb-ink);
}

.bb-storefront-shell #colophon .site-middle-footer-inner-wrap {
	display: grid;
	grid-template-columns: 1.52fr .91fr .95fr .81fr 1fr;
	gap: 0;
	align-items: stretch;
	padding-block: clamp(34px, 4.5vw, 70px) 28px;
}

.bb-storefront-shell #colophon .site-footer-middle-section-1 {
	padding-right: clamp(16px, 2.5vw, 42px);
}

.bb-storefront-shell #colophon .site-middle-footer-inner-wrap > .site-footer-section + .site-footer-section {
	min-height: 166px;
	padding-inline: clamp(13px, 2vw, 34px) 10px;
	border-inline-start: 1px solid var(--bb-line);
}

.bb-storefront-shell #colophon .bb-brand {
	width: 100%;
	max-width: 335px;
	margin-inline: auto;
}

.bb-storefront-shell #colophon .bb-brand__tagline {
	font-size: clamp(8px, .88vw, 12px);
	gap: 7px;
}

.bb-storefront-shell #colophon :is(.bb-footer-brand, .bb-footer-contact) p {
	margin: 17px 0 12px;
	color: #40342b;
	font: 400 clamp(15px, 1.27vw, 18px)/1.48 var(--bb-serif);
}

.bb-footer-brand {
	text-align: center;
}

.bb-storefront-shell #colophon .bb-footer-heading {
	margin: 0 0 14px;
	color: var(--bb-ink);
	font: 700 clamp(19px, 1.65vw, 26px)/1.17 var(--bb-serif);
}

.bb-footer-heading::after {
	display: block;
	width: 37px;
	height: 2px;
	margin-top: 11px;
	background: var(--bb-gold);
	content: "";
}

.bb-footer-links ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-storefront-shell #colophon .bb-footer-links a {
	color: #40342b;
	font: 400 clamp(15px, 1.25vw, 18px)/1.35 var(--bb-serif);
	text-decoration: none;
}

.bb-storefront-shell #colophon .bb-footer-links a:hover {
	color: #81521d;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.bb-storefront-shell #colophon .bb-footer-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 7px 12px;
	border: 1px solid var(--bb-gold);
	border-radius: 3px;
	background: transparent;
	color: #653d17;
	font: 700 15px/1.2 var(--bb-serif);
	text-decoration: none;
}

.bb-storefront-shell #colophon .bb-footer-cta:hover {
	background: #f2e2d0;
}

.bb-footer-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.bb-storefront-shell #colophon .bb-footer-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--bb-gold);
	border-radius: 50%;
	color: var(--bb-ink);
}

.bb-storefront-shell #colophon .site-bottom-footer-inner-wrap {
	padding: 15px 0 20px;
	border-top: 1px solid var(--bb-gold);
	color: var(--bb-ink);
	font: 400 15px/1.4 var(--bb-serif);
	text-align: center;
}

.bb-storefront-shell #colophon .footer-html-inner p {
	margin: 0;
}

@media (max-width: 1024px) {
	.bb-storefront-shell #masthead .site-container {
		padding-inline: clamp(12px, 4vw, 32px);
	}

	.bb-storefront-shell #mobile-header .site-main-header-inner-wrap {
		padding-block: 14px 12px;
	}

	.bb-storefront-shell #mobile-header .bb-brand {
		width: min(43vw, 300px);
	}

	.bb-storefront-shell #mobile-header .bb-brand__tagline {
		font-size: clamp(7px, 1.3vw, 12px);
		letter-spacing: .15em;
	}

	.bb-storefront-shell #mobile-header .site-header-main-section-right {
		gap: 1px;
		padding-inline-end: 5px;
	}

	.bb-storefront-shell #mobile-header :is(.menu-toggle-open, .bb-header-account, .header-cart-button) {
		min-width: 44px;
		width: 44px;
		min-height: 44px;
	}

	.bb-storefront-shell #mobile-header .menu-toggle-open {
		display: inline-grid;
		place-items: center;
		padding: 0;
		background: transparent;
		color: var(--bb-ink);
	}

	.bb-storefront-shell #mobile-header .menu-toggle-open .kadence-svg-iconset {
		font-size: 24px;
	}

	.bb-storefront-shell #mobile-header .header-cart-total {
		right: 0;
	}

	.bb-storefront-shell #mobile-header :is(.bb-header-account, .header-cart-button) .kadence-svg-iconset {
		font-size: 22px;
	}

	.bb-storefront-shell #mobile-header .site-bottom-header-inner-wrap {
		min-height: 51px;
	}

	.bb-storefront-shell #mobile-header .bb-search {
		width: min(100%, 380px);
		min-height: 44px;
		margin: 0 auto;
	}

	.bb-storefront-shell #mobile-header .bb-search :is(input, button) {
		height: 44px;
	}

	.bb-storefront-shell #colophon .site-middle-footer-inner-wrap {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px 0;
	}

	.bb-storefront-shell #colophon .site-footer-middle-section-1 {
		grid-column: 1 / -1;
		padding: 0 0 13px;
	}

	.bb-storefront-shell #colophon .bb-footer-brand p {
		margin-inline: auto;
		max-width: 340px;
	}

	.bb-storefront-shell #colophon .site-middle-footer-inner-wrap > .site-footer-section + .site-footer-section {
		min-height: 0;
	}
}

@media (max-width: 620px) {
	.bb-storefront-shell #masthead .site-container {
		padding-inline: 12px;
	}

	.bb-storefront-shell #mobile-header .site-main-header-inner-wrap {
		grid-template-columns: 44px minmax(0, 1fr) 94px;
	}

	.bb-storefront-shell #mobile-header .bb-brand {
		width: min(48vw, 185px, calc(100vw - 181px));
	}

	.bb-storefront-shell #mobile-header .bb-brand__tagline {
		gap: 4px;
		font-size: clamp(7px, 1.95vw, 9px);
	}

	.bb-storefront-shell #colophon .site-container {
		padding-inline: 22px;
	}

	.bb-storefront-shell #colophon .site-middle-footer-inner-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 17px;
	}

	.bb-storefront-shell #colophon .site-middle-footer-inner-wrap > .site-footer-section + .site-footer-section {
		padding: 0 0 0 11px;
	}

	.bb-storefront-shell #colophon .bb-brand {
		max-width: 265px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb-storefront-shell #site-navigation a::after {
		transition: none;
	}
}

/* Keep the product search compact without reducing the mobile touch area. */
.bb-storefront-shell .bb-search,
.bb-storefront-shell #mobile-header .bb-search {
	box-sizing: border-box;
	width: min(100%, 214px);
	min-height: 44px;
	padding-inline: 4px 9px;
	border: 1px solid #d7b88a;
	border-radius: 999px;
	background: #fffaf6;
}

.bb-storefront-shell .bb-search button {
	border-radius: 999px;
}

.bb-storefront-shell #mobile-header .bb-search {
	width: min(100%, 300px);
	margin-block: 4px;
}


.bb-storefront-shell #site-navigation .primary-menu-container .sub-menu {
	min-width: 230px;
}

.bb-storefront-shell #site-navigation .primary-menu-container .sub-menu a {
	padding: 10px 14px;
	text-decoration: none;
}

.bb-storefront-shell .bb-search input[type="search"] {
	font-size: .95rem;
}

/* Kadence switches headers before laptop widths end. Keep a distinct primary row in its compact header. */
.bb-compact-primary {
	background: var(--bb-nav);
	border-bottom: 1px solid #eddfd1;
	color: var(--bb-ink);
}

.bb-compact-primary :is(.bb-compact-primary__items, .bb-compact-primary__submenu) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bb-compact-primary .bb-compact-primary__items {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, max-content));
	justify-content: center;
	align-items: start;
	gap: 0 clamp(6px, 1.6vw, 24px);
	padding-inline: 12px;
}

.bb-compact-primary :is(a, summary) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	padding: 5px 8px;
	color: inherit;
	text-decoration: none;
	text-align: center;
	overflow-wrap: anywhere;
}

.bb-compact-primary :is(.bb-compact-primary__items > li > a, summary) {
	font: 700 clamp(12px, 1.5vw, 16px)/1.2 var(--bb-serif);
	letter-spacing: .025em;
	text-transform: uppercase;
}

.bb-compact-primary summary {
	list-style: none;
	cursor: pointer;
}

.bb-compact-primary summary::-webkit-details-marker {
	display: none;
}

.bb-compact-primary summary::after {
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-right: 1.5px solid;
	border-bottom: 1.5px solid;
	transform: rotate(45deg);
	content: "";
}

.bb-compact-primary details[open] summary::after {
	transform: rotate(225deg);
}

.bb-compact-primary :is(a, summary):focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: -2px;
}

.bb-compact-primary a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--bb-gold);
	text-underline-offset: 5px;
}

.bb-compact-primary .bb-compact-primary__submenu {
	background: #fffdfb;
}

.bb-compact-primary .bb-compact-primary__submenu a {
	justify-content: flex-start;
	text-align: left;
}

@media (min-width: 640px) {
	.bb-compact-primary details {
		position: relative;
	}
	.bb-compact-primary .bb-compact-primary__submenu {
		position: absolute;
		inset: 100% auto auto 0;
		z-index: 40;
		width: 230px;
		box-shadow: 0 4px 12px #32231525;
	}
}

@media (max-width: 639px) {
	.bb-compact-primary .bb-compact-primary__items {
		/* Two rows preserve tap targets without sideways scrolling. */
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 4px;
	}
}


/* Keep the rounded search under the account and cart controls in the main row. */
.bb-storefront-shell #masthead .site-main-header-inner-wrap .site-header-main-section-right {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	justify-content: end;
	justify-items: center;
	column-gap: clamp(2px, 1vw, 14px);
	row-gap: 2px;
}

.bb-storefront-shell #masthead .site-header-main-section-right .bb-search {
	grid-column: 1 / -1;
	justify-self: end;
	width: 142px;
	max-width: 100%;
	min-height: 36px;
	margin: 0;
	padding-inline: 2px 6px;
	gap: 3px;
}

.bb-storefront-shell #masthead .site-header-main-section-right .bb-search :is(input, button) {
	height: 34px;
	min-height: 0;
}

.bb-storefront-shell #masthead .site-header-main-section-right .bb-search button {
	width: 30px;
	flex: 0 0 30px;
}

.bb-storefront-shell #masthead .site-header-main-section-right .bb-search input {
	font-size: .9rem;
}

.bb-storefront-shell #main-header .site-bottom-header-inner-wrap {
	min-height: 35px;
	padding-block: 0;
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a {
	min-height: 35px;
	padding-block: 3px;
}

.bb-storefront-shell #site-navigation .primary-menu-container > ul > li > a::after {
	bottom: 3px;
}

.bb-compact-primary :is(.bb-compact-primary__items > li > a, summary) {
	min-height: 37px;
	padding-block: 2px;
}

.bb-storefront-shell.tax-product_cat .entry-hero .entry-header {
	min-height: 0;
	margin-block: 0;
	padding-block: 12px 8px;
}

.bb-storefront-shell.tax-product_cat .content-area {
	margin-top: 12px;
}

@media (max-width: 639px) {
	.bb-storefront-shell #mobile-header .site-main-header-wrap .site-container {
		padding-inline: 12px;
	}

	.bb-storefront-shell #mobile-header .site-main-header-inner-wrap .site-header-main-section-right {
		grid-template-columns: repeat(2, minmax(0, 44px));
		column-gap: 1px;
		padding-inline-end: 0;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search {
		width: 100%;
		min-height: 44px;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search :is(input, button) {
		height: 42px;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search input {
		font-size: .75rem;
	}

	.bb-compact-primary :is(.bb-compact-primary__items > li > a, summary) {
		min-height: 44px;
	}
}


/* Kadence emits an empty right-center column on desktop. Keep it out of the controls grid. */
.bb-storefront-shell #masthead .site-header-main-section-right > .site-header-main-section-right-center:not(:has(*)) {
	display: none;
}

.bb-compact-primary :is(.bb-compact-primary__items > li > a, summary) {
	box-sizing: border-box;
}

@media (max-width: 639px) {
	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search {
		gap: 0;
		padding-inline: 1px 4px;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search button {
		width: 27px;
		flex-basis: 27px;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search input {
		appearance: none;
		padding-inline: 0;
	}
}

@media (max-width: 639px) {
	.bb-storefront-shell #masthead #mobile-header .site-main-header-wrap .site-container {
		padding-inline: 7px;
	}

	.bb-storefront-shell #masthead #mobile-header .site-main-header-inner-wrap.site-header-row-center-column {
		grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right {
		column-gap: 0;
	}
}


/* Footer branding spans the full grid above the four existing columns. */
.bb-storefront-shell #colophon .site-middle-footer-inner-wrap {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: 20px clamp(16px, 3vw, 42px);
	max-width: 1100px;
	margin-inline: auto;
	padding-block: clamp(20px, 2.3vw, 34px) 18px;
}

.bb-storefront-shell #colophon .site-footer-middle-section-1 {
	grid-column: 1 / -1;
	padding: 0;
}

.bb-storefront-shell #colophon .site-middle-footer-inner-wrap > .site-footer-section + .site-footer-section {
	min-height: 0;
	padding: 0;
	border: 0;
}

.bb-storefront-shell #colophon .bb-footer-brand .bb-brand-link {
	width: 100%;
	max-width: 300px;
	margin-inline: auto;
}

.bb-storefront-shell #colophon .bb-footer-brand p {
	max-width: 38rem;
	margin: 8px auto 10px;
}

.bb-storefront-shell #colophon .site-bottom-footer-inner-wrap {
	padding-block: 12px 14px;
}

@media (max-width: 800px) {
	.bb-storefront-shell #colophon .site-middle-footer-inner-wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px clamp(14px, 4vw, 32px);
	}
}

@media (max-width: 420px) {
	.bb-storefront-shell #colophon .bb-footer-brand .bb-brand-link {
		max-width: 245px;
	}
}


.bb-storefront-shell #colophon .site-footer-middle-section-1 {
	display: grid;
	justify-items: stretch;
}

.bb-storefront-shell #colophon .bb-footer-brand {
	width: 100%;
}


/* Shared purchase controls and sale styling. */
.bb-storefront-shell {
	--bb-purchase: #f2e7d9;
	--bb-purchase-ink: #30251d;
	--bb-purchase-border: #a47c59;
	--bb-purchase-hover: #e7d7c3;
	--bb-sale: #86512e;
}

.bb-storefront-shell :is(
	.woocommerce ul.products li.product a.button,
	.woocommerce-page ul.products li.product a.button,
	.single_add_to_cart_button,
	.woocommerce .added_to_cart.wc-forward,
	.woocommerce-message .button.wc-forward,
	.woocommerce-cart-form button[name="update_cart"],
	.wc-proceed-to-checkout .checkout-button,
	.woocommerce-mini-cart__buttons .button,
	.woocommerce-checkout #place_order,
	.wp-block-woocommerce-product-button .wp-block-button__link,
	.wc-block-grid__product-add-to-cart .wp-block-button__link,
	.wc-block-cart__submit-button,
	.wc-block-components-checkout-place-order-button,
	.wc-block-mini-cart__footer-cart,
	.wc-block-mini-cart__footer-checkout
) {
	box-sizing: border-box;
	border: 1px solid var(--bb-purchase-border);
	border-radius: 6px;
	background: var(--bb-purchase);
	color: var(--bb-purchase-ink);
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}

.bb-storefront-shell :is(
	.woocommerce ul.products li.product a.button,
	.woocommerce-page ul.products li.product a.button,
	.single_add_to_cart_button,
	.woocommerce .added_to_cart.wc-forward,
	.woocommerce-message .button.wc-forward,
	.woocommerce-cart-form button[name="update_cart"],
	.wc-proceed-to-checkout .checkout-button,
	.woocommerce-mini-cart__buttons .button,
	.woocommerce-checkout #place_order,
	.wp-block-woocommerce-product-button .wp-block-button__link,
	.wc-block-grid__product-add-to-cart .wp-block-button__link,
	.wc-block-cart__submit-button,
	.wc-block-components-checkout-place-order-button,
	.wc-block-mini-cart__footer-cart,
	.wc-block-mini-cart__footer-checkout
):is(:hover, :active):not(:disabled):not([aria-disabled="true"]):not(.disabled) {
	background: var(--bb-purchase-hover);
	border-color: var(--bb-purchase-border);
	color: var(--bb-purchase-ink);
}

.bb-storefront-shell :is(
	.woocommerce ul.products li.product a.button,
	.woocommerce-page ul.products li.product a.button,
	.single_add_to_cart_button,
	.woocommerce .added_to_cart.wc-forward,
	.woocommerce-message .button.wc-forward,
	.woocommerce-cart-form button[name="update_cart"],
	.wc-proceed-to-checkout .checkout-button,
	.woocommerce-mini-cart__buttons .button,
	.woocommerce-checkout #place_order,
	.wp-block-woocommerce-product-button .wp-block-button__link,
	.wc-block-grid__product-add-to-cart .wp-block-button__link,
	.wc-block-cart__submit-button,
	.wc-block-components-checkout-place-order-button,
	.wc-block-mini-cart__footer-cart,
	.wc-block-mini-cart__footer-checkout
):focus-visible {
	outline: 2px solid #79513a;
	outline-offset: 3px;
}

.bb-storefront-shell ul.products li.product .product-action-wrap {
	padding-block: 0;
}

.bb-storefront-shell ul.products li.product .product-action-wrap > :is(a.button, a.added_to_cart),
.bb-storefront-shell :is(.wp-block-woocommerce-product-button,.wc-block-grid__product-add-to-cart) .wp-block-button__link {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	min-height: 30px;
	padding: 4px 10px;
	font-size: .82rem;
	text-align: center;
	white-space: normal;
}

.bb-storefront-shell :is(.single_add_to_cart_button,.woocommerce-cart-form button[name="update_cart"]) {
	padding: 7px 12px;
}

.bb-storefront-shell :is(.wc-block-cart__submit-button,.checkout-button,#place_order,.wc-block-components-checkout-place-order-button) {
	min-height: 44px;
}

.bb-storefront-shell :is(.woocommerce-loop-image-link,.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder,.wp-block-woocommerce-product-image,.wc-block-grid__product-image) {
	position: relative;
}

.bb-storefront-shell :is(.woocommerce span.onsale,.woocommerce-page span.onsale,.wc-block-grid__product-onsale,.wc-block-components-product-sale-badge,.wp-block-woocommerce-product-sale-badge) {
	box-sizing: border-box;
	width: max-content;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 3px 7px;
	border: 0;
	border-radius: 4px;
	background: var(--bb-sale);
	color: #fff;
	font: 600 11px/1.1 var(--bb-serif);
	letter-spacing: normal;
	text-transform: none;
	pointer-events: none;
}

.bb-storefront-shell :is(.woocommerce-loop-image-link,.woocommerce-product-gallery__image,.woocommerce-product-gallery__image--placeholder,.wp-block-woocommerce-product-image,.wc-block-grid__product-image) :is(span.onsale,.wc-block-grid__product-onsale,.wc-block-components-product-sale-badge,.wp-block-woocommerce-product-sale-badge) {
	position: absolute;
	inset: auto 6px 6px auto;
	z-index: 2;
}

@media (max-width: 768px) {
	.bb-storefront-shell ul.products li.product .product-action-wrap > :is(a.button,a.added_to_cart),
	.bb-storefront-shell :is(.wp-block-woocommerce-product-button,.wc-block-grid__product-add-to-cart) .wp-block-button__link {
		min-height: 44px;
	}
}

/* Center the existing WooCommerce gallery and summary inside the no-sidebar product layout. */
.bb-storefront-shell.single-product #primary .entry-content-wrap.product[id^="product-"] {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
}

.bb-storefront-shell.single-product #primary .entry-content-wrap.product > .entry-summary {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (min-width: 769px) {
	.bb-storefront-shell.single-product #primary .entry-content-wrap.product > :is(.woocommerce-product-gallery, .entry-summary) {
		width: calc((100% - clamp(24px, 4vw, 56px)) / 2);
	}
}

@media (max-width: 768px) {
	.bb-storefront-shell.single-product #primary .entry-content-wrap.product > :is(.woocommerce-product-gallery, .entry-summary) {
		float: none;
		width: 100%;
		margin-inline: 0;
	}
}


@media (min-width: 769px) {
	.bb-storefront-shell.single-product #primary .entry-content-wrap.product > .entry-summary {
		margin-top: 0;
		padding-top: 0;
	}
}


/* WooCommerce transaction blocks stay inside the Kadence content box. */
.bb-storefront-shell:is(.woocommerce-cart,.woocommerce-checkout) #primary :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout {
	--bb-transaction-gap: clamp(20px, 3vw, 40px);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	column-gap: var(--bb-transaction-gap);
}

.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout > :is(.wc-block-components-main,.wc-block-components-sidebar) {
	box-sizing: border-box;
	flex: 65 1 0;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin-inline: 0;
	padding-inline: 0;
}

.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
	flex-grow: 35;
}

.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) :is(.wc-block-components-totals-item__label,.wc-block-components-totals-coupon__form .wc-block-components-text-input) {
	min-width: 0;
	overflow-wrap: anywhere;
}

.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-totals-item__value {
	flex-shrink: 0;
	margin-inline-start: 8px;
}

.bb-storefront-shell .wp-block-woocommerce-cart :is(.wc-block-cart__submit-container,.wc-block-cart__submit-button) {
	box-sizing: border-box;
	max-width: 100%;
}

.bb-storefront-shell .wp-block-woocommerce-cart .wc-block-cart__submit-container--sticky {
	position: static;
	width: 100%;
	padding: 0;
}

.bb-storefront-shell .wp-block-woocommerce-cart .wc-block-cart__submit-container--sticky::before {
	content: none;
}

@media (max-width: 900px) {
	.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout {
		flex-direction: column;
		align-items: stretch;
		row-gap: 22px;
	}

	.bb-storefront-shell :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) .wc-block-components-sidebar-layout > :is(.wc-block-components-main,.wc-block-components-sidebar) {
		flex: 0 1 auto;
		width: 100%;
	}
}



/* Keep native purchase controls and the product link paired beneath the price. */
.bb-storefront-shell .bb-product-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	align-items: stretch;
	justify-content: center;
	gap: 6px 7px;
	width: 100%;
	margin: 4px 0 0;
}

.bb-storefront-shell .bb-product-actions > .wp-block-woocommerce-product-button {
	min-width: 0;
	margin: 0;
}

.bb-storefront-shell .bb-product-actions .bb-shop-now {
	grid-column: 2;
	grid-row: 1;
}

.bb-storefront-shell .bb-product-actions :is(a.button,button.button,.wp-block-button__link,.bb-shop-now) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 32px;
	margin: 0;
	padding: 4px clamp(4px, .65vw, 9px);
	border: 1px solid #a47c59;
	border-radius: 6px;
	background: var(--bb-purchase);
	color: var(--bb-purchase-ink);
	font: 600 .78rem/1.17 var(--bb-serif);
	text-align: center;
	text-decoration: none;
	white-space: normal;
}

.bb-storefront-shell .bb-product-actions :is(a.button,button.button,.wp-block-button__link,.bb-shop-now):is(:hover,:active) {
	background: var(--bb-purchase-hover);
	color: var(--bb-purchase-ink);
}

.bb-storefront-shell .bb-product-actions :is(a,button):focus-visible {
	outline: 2px solid #79513a;
	outline-offset: 2px;
}

.bb-storefront-shell .bb-product-actions > .added_to_cart {
	grid-column: 1 / -1;
	justify-self: center;
	padding: 3px 8px;
}

.bb-storefront-shell .bb-product-actions .wp-block-woocommerce-product-button .wp-block-button__link {
	height: 100%;
}

.bb-storefront-shell ul.products li.product:has(.bb-product-actions) .product-action-wrap {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Shared circle row, kept within the category content margins. */
.bb-storefront-shell .bb-category-circles {
	box-sizing: border-box;
	max-width: 100%;
	margin: 12px auto 23px;
}

.bb-storefront-shell .bb-category-circles ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px clamp(8px, 1.6vw, 23px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-storefront-shell .bb-category-circles li {
	width: clamp(83px, 8vw, 115px);
	margin: 0;
}

.bb-storefront-shell .bb-category-circles a {
	display: grid;
	justify-items: center;
	gap: 5px;
	padding: 3px;
	border-radius: 4px;
	color: var(--bb-ink);
	text-align: center;
	text-decoration: none;
	font: 600 .83rem/1.2 var(--bb-serif);
}

.bb-storefront-shell .bb-category-circles img {
	display: block;
	width: clamp(60px, 6vw, 84px);
	height: auto;
	aspect-ratio: 1;
	border: 1px solid var(--bb-line);
	border-radius: 50%;
	object-fit: cover;
}

.bb-storefront-shell .bb-category-circles a:is(:hover,[aria-current="page"]) span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bb-storefront-shell .bb-category-circles a:focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 2px;
}

@media (max-width: 768px) {
	.bb-storefront-shell .bb-product-actions :is(a.button,button.button,.wp-block-button__link,.bb-shop-now) {
		min-height: 44px;
	}
}


/* Keep the existing cart spinner and confirmation icon, with no decorative arrow. */
.bb-storefront-shell .bb-product-actions .kadence-svg-iconset:has(.kadence-arrow-right-alt-svg) {
	display: none;
}

/* Kadence's later archive styles set top as well as bottom. Reset the opposing edge. */
body.bb-storefront-shell.woocommerce ul.products li.product .woocommerce-loop-image-link > span.onsale,
body.bb-storefront-shell.single-product .woocommerce-product-gallery__image > span.onsale,
.bb-storefront-shell .wp-block-woocommerce-product-image .wc-block-components-product-sale-badge {
	inset: auto 6px 6px auto;
	max-height: 22px;
}


/* Brand the full category dropdown without changing the primary menu row. */
body.bb-storefront-shell #masthead #site-navigation .primary-menu-container .sub-menu,
body.bb-storefront-shell #masthead .bb-compact-primary .bb-compact-primary__submenu {
	background: #f2e7d9;
	color: #30251d;
	max-height: min(65vh, 440px);
	overflow-y: auto;
}

body.bb-storefront-shell #masthead #site-navigation .primary-menu-container .sub-menu a,
body.bb-storefront-shell #masthead .bb-compact-primary .bb-compact-primary__submenu a {
	min-height: 32px;
	padding: 7px 12px;
	background: #f2e7d9;
	color: #30251d;
	line-height: 1.15;
	text-decoration: none;
}

body.bb-storefront-shell #masthead #site-navigation .primary-menu-container .sub-menu a:is(:hover,:focus-visible,[aria-current="page"]),
body.bb-storefront-shell #masthead #site-navigation .primary-menu-container .sub-menu li.current-menu-item > a,
body.bb-storefront-shell #masthead .bb-compact-primary .bb-compact-primary__submenu a:is(:hover,:focus-visible,[aria-current="page"]) {
	background: #f2e7d9;
	color: #30251d;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bb-storefront-shell .bb-product-actions a.bb-shop-now {
	background: #222222;
	border-color: #222222;
	color: #ffffff;
}

.bb-storefront-shell .bb-product-actions a.bb-shop-now:is(:hover,:active) {
	background: #3a3a3a;
	border-color: #222222;
	color: #ffffff;
}

.bb-storefront-shell #masthead #main-header .bb-desktop-menu-toggle {
	display: inline-grid;
	place-items: center;
	align-content: center;
	gap: 1px;
	min-width: 44px;
	min-height: 44px;
	padding: 3px 5px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	color: var(--bb-ink);
	font: 400 .875rem/1.15 var(--bb-serif);
}

.bb-storefront-shell #masthead #main-header .bb-desktop-menu-toggle .kadence-svg-iconset {
	font-size: 24px;
}

.bb-storefront-shell #masthead #main-header .bb-desktop-menu-toggle:focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 2px;
}

.bb-storefront-shell #masthead .site-header-main-section-right .bb-search {
	width: 174px;
}

@media (max-width: 639px) {
	.bb-storefront-shell #masthead .bb-compact-primary details {
		position: relative;
	}

	.bb-storefront-shell #masthead .bb-compact-primary .bb-compact-primary__submenu {
		position: absolute;
		inset: 100% 0 auto auto;
		z-index: 40;
		width: min(230px, calc(100vw - 24px));
		box-shadow: 0 4px 12px #32231525;
	}

	.bb-storefront-shell #masthead #mobile-header .site-header-main-section-right .bb-search input {
		text-overflow: ellipsis;
	}
}


/* Stack the existing header artwork; the footer retains its original lockup. */
.bb-storefront-shell #masthead .bb-brand {
	padding-top: 0;
}
.bb-storefront-shell #masthead .bb-brand__monogram {
	position: static;
	z-index: auto;
	transform: none;
	width: 36%;
	margin-bottom: 3px;
}

/* Native purchase controls only; keep the adjacent Shop Now control unchanged. */
.bb-storefront-shell .bb-product-actions :is(a,button).add_to_cart_button.product_type_simple {
	font-size: .695rem !important;
	padding: 3px clamp(3px, .55vw, 8px);
}
.bb-storefront-shell.single-product div.product form.cart button.single_add_to_cart_button {
	font-size: .99rem;
	padding: 0 15px;
	min-height: 44px;
}

/* Align these six existing hero images with their own product collections. */
.bb-storefront-shell :is(.post-942 .wp-image-943, .post-570 .wp-image-814, .post-837 .wp-image-844,
	.post-571 .wp-image-574, .post-223 .wp-image-851, .post-227 .wp-image-298) {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	aspect-ratio: auto !important;
}
.bb-storefront-shell :is(.post-570,.post-837) :is(.wp-block-image,figure.aligncenter):has(:is(.wp-image-814,.wp-image-844)),
.bb-storefront-shell .post-227 .entry-content > figure.alignwide:has(.wp-image-298) {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
}

/* Keep the WooCommerce status announcement accessible without a visual banner. */
.bb-storefront-shell .woocommerce-message:has(.bb-cart-announcement) {
	position: absolute !important;
	width: 1px; height: 1px; min-height: 0;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.bb-storefront-shell .woocommerce-notices-wrapper:has(> .woocommerce-message:only-child .bb-cart-announcement) {
	margin: 0; padding: 0; min-height: 0;
}

body.bb-storefront-shell #masthead :is(#mobile-header,#main-header) .site-main-header-inner-wrap .site-header-main-section-right {
	grid-template-columns: minmax(0,1fr) 44px 44px;
	column-gap: 0;
	row-gap: 6px;
	align-items: center;
}
.bb-storefront-shell #masthead .bb-header-account { grid-column: 2; grid-row: 1; }
.bb-storefront-shell #masthead .site-header-main-section-right > .site-header-item:has(.header-cart-button) {
	grid-column: 3; grid-row: 1; margin: 0; padding: 0;
}
body.bb-storefront-shell #masthead :is(.header-cart-button,.bb-header-account) {
	display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0;
}
body.bb-storefront-shell #masthead :is(.header-cart-button,.bb-header-account) .kadence-svg-iconset {
	display: flex; align-items: center; justify-content: center; line-height: 1;
}
body.bb-storefront-shell #masthead :is(.bb-header-account,.header-cart-button) svg {
	display: block; width: 29px; height: 29px; margin: 0; vertical-align: middle;
}
body.bb-storefront-shell #masthead .site-header-main-section-right form.bb-search {
	grid-row: 2; border: 0; border-bottom: 1px solid #b3987e; border-radius: 0;
	background: transparent; box-shadow: none;
}
body.bb-storefront-shell #masthead .bb-search:focus-within { border-bottom: 2px solid #79513a; }

.bb-storefront-shell .entry-hero:has(h1), .bb-storefront-shell .entry-hero:has(h1) .entry-hero-container-inner,
.bb-storefront-shell header.entry-header:has(h1) { background: white; }
.bb-storefront-shell .entry-hero:has(h1) .hero-section-overlay { background: transparent; }
.bb-storefront-shell header.entry-header h1:is(.entry-title,.page-title,.archive-title),
.bb-storefront-shell .summary h1.product_title {
	display: inline; background: #f3e8d9; padding-inline: .12em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere;
}
