/* WooCommerce storefront polish for the refreshed Britecom theme */
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 1rem;
	color: #64748b;
	font-size: .9rem;
	font-weight: 760;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 1rem; }
.woocommerce .woocommerce-ordering select { min-width: 220px; background: #ffffff; color: #121826; border-color: rgba(15,23,42,.14); }
.woocommerce-products-header { margin-bottom: 1rem; }
.woocommerce .term-description {
	max-width: 880px;
	color: #64748b;
	font-size: 1.02rem;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	justify-content: start;
	gap: clamp(.65rem, 1.2vw, .95rem);
	margin-top: .55rem;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	height: 100%;
	min-height: 100%;
	margin: 0 !important;
	padding: 10px;
	border: 1px solid rgba(15,23,42,.10);
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	overflow: hidden;
}
.woocommerce ul.products li.product::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 8px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ed1c24, #1557ff, #ffd400);
	opacity: .9;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: rgba(21,87,255,.32);
	box-shadow: 0 24px 52px rgba(15, 23, 42, .12);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	color: inherit;
}
.woocommerce ul.products li.product a img {
	width: 100%;
	max-width: none;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: .45rem 0 .7rem;
	padding: 10px;
	border: 1px solid rgba(15,23,42,.08);
	border-radius: 14px;
	background: #ffffff;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
	min-height: 2.5em;
	padding: 0;
	color: #121826;
	font-size: .9rem;
	font-weight: 850;
	line-height: 1.35;
	letter-spacing: -.018em;
}
.woocommerce ul.products li.product .price {
	margin-top: auto;
	color: #0b3bd9;
	font-size: .98rem;
	font-weight: 900;
}
.woocommerce ul.products li.product .button { width: 100%; margin-top: .55rem; flex-shrink: 0; }
.main-navigation .menu-item-cart,
#mainMenu .menu-item-cart { display: none !important; }
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	top: 10px;
	right: 10px;
	left: auto;
	z-index: 3;
	min-width: auto;
	min-height: auto;
	padding: .32rem .55rem;
	border-radius: 999px;
	background: #ed1c24;
	color: #ffffff;
	font-size: .72rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 22px rgba(237,28,36,.20);
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page #content div.product div.images { float: left; width: 50%; }
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce #content div.product div.summary,
.woocommerce-page #content div.product div.summary {
	float: right;
	width: 46%;
	margin-left: 4%;
	padding: clamp(.75rem, 1.5vw, 1.05rem);
	border: 1px solid rgba(15,23,42,.10);
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}
.woocommerce div.product div.images img {
	border: 1px solid rgba(15,23,42,.10);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 16px 38px rgba(15, 23, 42, .10);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #0b3bd9;
	font-size: clamp(1.25rem, 2.4vw, 1.8rem);
	font-weight: 900;
}
.woocommerce div.product .stock { font-weight: 850; color: #0b3bd9; }
.woocommerce div.product form.cart {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: .85rem;
}
.woocommerce .quantity .qty { width: 70px; min-height: 40px; text-align: center; background: #ffffff; color: #121826; border-color: rgba(15,23,42,.14); }
.woocommerce-tabs { clear: both; padding-top: 1.2rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding-left: 0; border-color: rgba(15,23,42,.12); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 16px;
	background: #f8fbff;
	border-color: rgba(15,23,42,.12);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #ffffff; }
.woocommerce div.product .woocommerce-tabs .panel {
	padding: .9rem;
	border: 1px solid rgba(15,23,42,.10);
	border-radius: 22px;
	background: #ffffff;
}

.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #payment {
	border-radius: 22px;
	border-color: rgba(15,23,42,.10);
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
	overflow: hidden;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}
.woocommerce-message { border-top-color: #1557ff; }
.woocommerce-info { border-top-color: #ffd400; }
.woocommerce-error { border-top-color: #ed1c24; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: .4rem; flex-wrap: wrap; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 34px;
	min-height: 34px;
	border: 1px solid rgba(15,23,42,.12);
	border-radius: 999px;
	background: #ffffff;
	font-weight: 850;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #1557ff; color: #ffffff; border-color: #1557ff; }

@media (max-width: 863px) {
	.woocommerce div.product div.images,
	.woocommerce-page div.product div.images,
	.woocommerce #content div.product div.images,
	.woocommerce-page #content div.product div.images,
	.woocommerce div.product div.summary,
	.woocommerce-page div.product div.summary,
	.woocommerce #content div.product div.summary,
	.woocommerce-page #content div.product div.summary {
		float: none;
		width: 100%;
		margin-left: 0;
	}
	.woocommerce div.product div.summary { margin-top: 1.5rem; }
}

@media (max-width: 863px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products li.product { padding: 8px; border-radius: 16px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title,
	.woocommerce ul.products li.product h2,
	.woocommerce ul.products li.product h3 { font-size: .82rem; }
	.woocommerce ul.products li.product .button { min-height: 36px; padding: .55rem .65rem; }
	.woocommerce div.product form.cart .button { width: 100%; }
}

@media (max-width: 380px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
}


/* Client revision: flatter boxes, smaller search, true mobile hamburger, higher categories, gray page bg. */
:root {
	--bg: #f4f4f4;
	--radius-sm: 6px;
	--radius: 10px;
	--radius-lg: 14px;
}

html, body { background: #f4f4f4 !important; }
body {
	background-image: none !important;
	background-color: #f4f4f4 !important;
}
body::before { opacity: .35; }

.site-header, #header,
.hero-panel,
.site-main, #whiteBox,
.content-area, #primary-content,
.widget-card,
.site-footer, #footer,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product div.summary,
.woocommerce div.product div.images img,
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce table.shop_table,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: 10px !important;
}

.phone-link, #phone,
.site-search form,
.site-search .woocommerce-product-search,
.site-search .search-form,
.woocommerce ul.products li.product a img,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 8px !important;
}

button, .button, input[type="button"], input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce #respond input#submit.alt,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button, .wc-block-components-button.wp-element-button,
.main-navigation a, #mainMenu li a,
.utility-bar a,
.cart-count,
.eyebrow,
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 8px !important;
}

.site-shell, #container { padding-top: 6px; }
.site-header, #header { top: auto; }
.site-main, #whiteBox { margin-top: 6px; }
.hero-panel { margin: 6px 0; padding: clamp(.7rem, 1.7vw, 1.2rem); }
.content-grid, #whiteMid { align-items: start; }
.sidebar, #mainLeft { top: 105px; }
.widget-card { margin-bottom: .65rem; }
.widget-title { padding: .52rem .62rem; }
.product-categories li a, .widget li a { padding: .42rem .58rem; font-size: .88rem; }

.site-search { max-width: 520px; justify-self: center; }
.site-search form,
.site-search .woocommerce-product-search,
.site-search .search-form { min-height: 34px; box-shadow: 0 6px 14px rgba(15,23,42,.05); }
.site-search input[type="search"], .site-search .search-field {
	min-height: 34px;
	padding: 0 .75rem;
	font-size: .88rem;
}
.site-search button, .site-search input[type="submit"] {
	min-width: 92px;
	min-height: 28px;
	margin: 3px;
	padding: .35rem .62rem;
	font-size: .82rem;
}

.mobile-menu-toggle { display: none; }

@media (max-width: 863px) {
	.site-header, #header { position: relative; top: auto; }
	.masthead { padding: .58rem; }
	.site-search { max-width: 100%; justify-self: stretch; }
	.mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .55rem;
		width: calc(100% - 1rem);
		min-height: 38px;
		margin: 0 .5rem .5rem;
		padding: .45rem .7rem;
		border: 1px solid rgba(15,23,42,.12);
		border-radius: 8px;
		background: #fff;
		color: var(--ink);
		box-shadow: 0 8px 18px rgba(15,23,42,.06);
		font-weight: 900;
		cursor: pointer;
	}
	.mobile-menu-toggle__bars { display: grid; gap: 4px; width: 18px; }
	.mobile-menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
	.main-navigation, #mainMenu { display: none; border-top: 1px solid var(--line); }
	body.mobile-menu-open .main-navigation,
	body.mobile-menu-open #mainMenu,
	.site-header.is-menu-open .main-navigation,
	.site-header.is-menu-open #mainMenu { display: block; }
	.main-navigation ul, #mainMenu ul { display: grid; grid-template-columns: 1fr; padding: .42rem; gap: .25rem; }
	.main-navigation a, #mainMenu li a { min-height: 34px; justify-content: center; text-align: center; }
	.content-grid, #whiteMid { gap: .55rem; }
	.sidebar, #mainLeft { order: 0; }
	.content-area, #primary-content { order: 1; }
	.category-rail .product-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.masthead { gap: .42rem; }
	.site-search form, .site-search .woocommerce-product-search, .site-search .search-form { flex-direction: row; min-height: 32px; }
	.site-search input[type="search"], .site-search .search-field { min-height: 32px; padding: 0 .58rem; }
	.site-search button, .site-search input[type="submit"] { width: auto; min-width: 74px; min-height: 26px; font-size: .78rem; }
	.hero-panel { padding: .55rem; }
	.hero-panel__copy, .hero-panel__actions { display: none; }
	.hero-panel h1 { font-size: clamp(1.45rem, 10vw, 2.2rem); }
	.site-main, #whiteBox { padding: .45rem; }
	.content-area, #primary-content { padding: .58rem; }
	.category-rail .product-categories { grid-template-columns: 1fr; max-height: none; overflow: visible; }
	.widget-title { font-size: .72rem; }
}

/* Added logo spacing */
.site-logo,
.custom-logo-link,
.site-branding,
.navbar-brand,
.logo {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

header .custom-logo,
.site-header .custom-logo {
  max-height: 70px;
  width: auto;
}


/* Client revision: add breathing room between stacked logo and search; remove help phone area. */
.header-actions,
#headerRight,
.phone-link,
#phone {
	display: none !important;
}

@media (max-width: 863px) {
	.brand,
	#headerLeft {
		margin-bottom: 12px !important;
	}

	.site-search {
		margin-top: 4px !important;
	}
}

@media (max-width: 560px) {
	.brand,
	#headerLeft {
		margin-bottom: 14px !important;
	}
}

/* Client revision: more top padding when stacked; desktop search aligned far right. */
@media (min-width: 864px) {
	.masthead {
		grid-template-columns: minmax(190px, 300px) minmax(280px, 430px) !important;
		justify-content: space-between !important;
		align-items: center !important;
	}

	.site-search {
		grid-column: 2 !important;
		justify-self: end !important;
		margin-left: auto !important;
		max-width: 430px !important;
		width: min(430px, 100%) !important;
	}
}

@media (max-width: 863px) {
	.masthead {
		padding-top: 1.05rem !important;
	}

	.brand,
	#headerLeft {
		padding-top: .3rem !important;
	}
}

@media (max-width: 560px) {
	.masthead {
		padding-top: 1.2rem !important;
	}

	.brand,
	#headerLeft {
		padding-top: .45rem !important;
	}
}

/* Client revision: keep Product Categories aligned to the top on desktop/non-mobile layouts. */
@media (min-width: 864px) {
	.content-grid,
	#whiteMid {
		align-items: start !important;
	}

	.sidebar,
	#mainLeft,
	.shop-category-sidebar,
	.category-rail {
		align-self: start !important;
		justify-self: stretch !important;
		margin-top: 0 !important;
	}

	#mainLeft .widget-card:first-child,
	.shop-category-sidebar .widget-card:first-child,
	.category-rail:first-child {
		margin-top: 0 !important;
	}
}

/* Client revision: keep Product Categories pinned to the top on Shop/WooCommerce views too. */
@media (min-width: 864px) {
	body.woocommerce .content-grid,
	body.woocommerce #whiteMid,
	body.woocommerce-page .content-grid,
	body.woocommerce-page #whiteMid,
	body.post-type-archive-product .content-grid,
	body.post-type-archive-product #whiteMid,
	body.tax-product_cat .content-grid,
	body.tax-product_cat #whiteMid {
		align-items: start !important;
		align-content: start !important;
	}

	body.woocommerce #mainLeft,
	body.woocommerce .shop-category-sidebar,
	body.woocommerce-page #mainLeft,
	body.woocommerce-page .shop-category-sidebar,
	body.post-type-archive-product #mainLeft,
	body.post-type-archive-product .shop-category-sidebar,
	body.tax-product_cat #mainLeft,
	body.tax-product_cat .shop-category-sidebar {
		grid-row: 1 !important;
		align-self: start !important;
		place-self: start stretch !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.woocommerce #mainLeft > .widget-card:first-child,
	body.woocommerce .shop-category-sidebar > .widget-card:first-child,
	body.woocommerce-page #mainLeft > .widget-card:first-child,
	body.woocommerce-page .shop-category-sidebar > .widget-card:first-child,
	body.post-type-archive-product #mainLeft > .widget-card:first-child,
	body.post-type-archive-product .shop-category-sidebar > .widget-card:first-child,
	body.tax-product_cat #mainLeft > .widget-card:first-child,
	body.tax-product_cat .shop-category-sidebar > .widget-card:first-child {
		margin-top: 0 !important;
	}
}

/* Client revision: stronger Shop-page category alignment fix.
   WooCommerce archive/shop views can make the sidebar appear lower when sticky positioning engages.
   Keep the Product Categories rail in the first grid cell and remove the desktop sticky offset on shop/category pages. */
@media (min-width: 864px) {
	body.post-type-archive-product #whiteMid,
	body.post-type-archive-product .content-grid,
	body.archive.woocommerce #whiteMid,
	body.archive.woocommerce .content-grid,
	body.tax-product_cat #whiteMid,
	body.tax-product_cat .content-grid,
	body.woocommerce-shop #whiteMid,
	body.woocommerce-shop .content-grid {
		display: grid !important;
		grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) !important;
		align-items: start !important;
		align-content: start !important;
	}

	body.post-type-archive-product #mainLeft,
	body.post-type-archive-product .shop-category-sidebar,
	body.archive.woocommerce #mainLeft,
	body.archive.woocommerce .shop-category-sidebar,
	body.tax-product_cat #mainLeft,
	body.tax-product_cat .shop-category-sidebar,
	body.woocommerce-shop #mainLeft,
	body.woocommerce-shop .shop-category-sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: stretch !important;
		position: static !important;
		top: auto !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.post-type-archive-product #primary-content,
	body.post-type-archive-product .content-area,
	body.archive.woocommerce #primary-content,
	body.archive.woocommerce .content-area,
	body.tax-product_cat #primary-content,
	body.tax-product_cat .content-area,
	body.woocommerce-shop #primary-content,
	body.woocommerce-shop .content-area {
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start !important;
	}

	body.post-type-archive-product .shop-category-sidebar .category-rail,
	body.archive.woocommerce .shop-category-sidebar .category-rail,
	body.tax-product_cat .shop-category-sidebar .category-rail,
	body.woocommerce-shop .shop-category-sidebar .category-rail {
		margin-top: 0 !important;
	}
}

/* Client revision: apply the same top-aligned Product Categories layout on Cart and Checkout pages. */
@media (min-width: 864px) {
	body.woocommerce-cart #whiteMid,
	body.woocommerce-cart .content-grid,
	body.woocommerce-checkout #whiteMid,
	body.woocommerce-checkout .content-grid,
	body.woocommerce-account #whiteMid,
	body.woocommerce-account .content-grid {
		display: grid !important;
		grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) !important;
		align-items: start !important;
		align-content: start !important;
	}

	body.woocommerce-cart #mainLeft,
	body.woocommerce-cart .shop-category-sidebar,
	body.woocommerce-checkout #mainLeft,
	body.woocommerce-checkout .shop-category-sidebar,
	body.woocommerce-account #mainLeft,
	body.woocommerce-account .shop-category-sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: stretch !important;
		position: static !important;
		top: auto !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body.woocommerce-cart #primary-content,
	body.woocommerce-cart .content-area,
	body.woocommerce-checkout #primary-content,
	body.woocommerce-checkout .content-area,
	body.woocommerce-account #primary-content,
	body.woocommerce-account .content-area {
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start !important;
	}

	body.woocommerce-cart #mainLeft > .widget-card:first-child,
	body.woocommerce-cart .shop-category-sidebar > .widget-card:first-child,
	body.woocommerce-checkout #mainLeft > .widget-card:first-child,
	body.woocommerce-checkout .shop-category-sidebar > .widget-card:first-child,
	body.woocommerce-account #mainLeft > .widget-card:first-child,
	body.woocommerce-account .shop-category-sidebar > .widget-card:first-child,
	body.woocommerce-cart .shop-category-sidebar .category-rail,
	body.woocommerce-checkout .shop-category-sidebar .category-rail,
	body.woocommerce-account .shop-category-sidebar .category-rail {
		margin-top: 0 !important;
	}
}

/* Client revision: universal desktop Product Categories top alignment.
   This covers standard pages, custom page templates, Shop, Cart, Checkout, and account pages consistently. */
@media (min-width: 864px) {
	body #whiteMid,
	body .content-grid {
		display: grid !important;
		grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) !important;
		align-items: start !important;
		align-content: start !important;
	}

	body #mainLeft,
	body .shop-category-sidebar,
	body .sidebar.shop-category-sidebar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: stretch !important;
		place-self: start stretch !important;
		position: static !important;
		top: auto !important;
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body #primary-content,
	body .content-area {
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start !important;
		margin-top: 0 !important;
	}

	body #mainLeft > .widget-card:first-child,
	body .shop-category-sidebar > .widget-card:first-child,
	body .shop-category-sidebar .category-rail,
	body #mainLeft .category-rail {
		margin-top: 0 !important;
	}
}

/* Homepage hero image slot: replaces prior text/card hero block. */
.hero-panel--image-only {
	display: block;
	min-height: clamp(260px, 30vw, 420px);
	padding: 0 !important;
	background: transparent !important;
}
.hero-panel--image-only::before,
.hero-panel--image-only::after {
	display: none !important;
}
.hero-panel__image-slot {
	width: 100%;
	min-height: clamp(260px, 30vw, 420px);
	border-radius: inherit;
	background: rgba(255,255,255,.42);
	overflow: hidden;
}
.hero-panel__image-slot img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: clamp(260px, 30vw, 420px);
	object-fit: cover;
}

/* Hide the homepage hero image as soon as the mobile menu layout appears. */
@media (max-width: 863px) {
	.hero-panel--image-only {
		display: none !important;
	}
}


/* Client revision: mobile breakpoint includes the utility/tagline bar; cart appears in menu only on mobile. */
@media (min-width: 864px) {
	.main-navigation .menu-item-cart,
	#mainMenu .menu-item-cart {
		display: none !important;
	}
}

@media (max-width: 863px) {
	.utility-bar {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: .35rem !important;
		padding: .48rem .62rem !important;
		text-align: center !important;
	}

	.utility-bar__message {
		width: 100% !important;
		font-size: .82rem !important;
		line-height: 1.25 !important;
	}

	/* In mobile view the cart lives inside the hamburger menu, not in the top utility links. */
	.utility-bar__links {
		display: none !important;
	}

	.main-navigation .menu-item-cart,
	#mainMenu .menu-item-cart {
		display: list-item !important;
	}

	.main-navigation .menu-item-cart > a,
	#mainMenu .menu-item-cart > a {
		display: flex !important;
	}
}

/* Keep the Product Categories heading on a single line at every size. */
.widget-title,
.category-rail .widget-title,
.shop-category-sidebar .widget-title {
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}

/* Match WooCommerce Cart/Checkout block buttons to the Britecom theme buttons. */
.wc-block-components-button,
.wc-block-components-button.wp-element-button,
.wc-block-cart__submit-button,
.wc-block-cart__submit-button.wp-element-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .5rem !important;
	min-height: 40px !important;
	padding: .66rem .92rem !important;
	border: 1px solid rgba(21, 87, 255, .2) !important;
	border-radius: 8px !important;
	background: linear-gradient(135deg, var(--blue) 0%, #123fe3 100%) !important;
	color: #ffffff !important;
	font-weight: 850 !important;
	line-height: 1.1 !important;
	box-shadow: 0 16px 34px rgba(21, 87, 255, .24) !important;
	letter-spacing: .01em !important;
}

.wc-block-components-button:hover,
.wc-block-components-button.wp-element-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button.wp-element-button:hover {
	background: linear-gradient(135deg, #316dff 0%, var(--blue-2) 100%) !important;
	border-color: var(--blue) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(21, 87, 255, .28) !important;
}

.wc-block-components-button .wc-block-components-button__text,
.wc-block-cart__submit-button .wc-block-components-button__text {
	color: inherit !important;
}

/* Fix WooCommerce Checkout radio selectors so selected circles do not stretch into ovals. */
.woocommerce-checkout input[type="radio"],
.woocommerce-checkout input[type="checkbox"],
.wc-block-checkout input[type="radio"],
.wc-block-checkout input[type="checkbox"],
.wc-block-components-radio-control__input,
.wc-block-components-checkbox .wc-block-components-checkbox__input {
	width: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	flex: 0 0 18px !important;
	aspect-ratio: 1 / 1 !important;
}

.woocommerce-checkout input[type="checkbox"],
.wc-block-checkout input[type="checkbox"],
.wc-block-components-checkbox .wc-block-components-checkbox__input {
	border-radius: 4px !important;
}

.wc-block-components-radio-control__input::before,
.wc-block-components-radio-control__input:checked::before,
.woocommerce-checkout input[type="radio"]::before,
.woocommerce-checkout input[type="radio"]:checked::before {
	border-radius: 50% !important;
	aspect-ratio: 1 / 1 !important;
}
