/*
 * Brod GmbH – Custom Styles
 * Child theme overrides for Storefront
 *
 * Brand colour: #297e89 (teal)
 * Dark variant: #1e6270
 */

/* =============================================
   0. LAYOUT WIDTH
   ============================================= */

:root {
	--brod-container-max: 1480px;
	--brod-content-max: 1360px;
	--brod-container-gutter: clamp(1rem, 2.4vw, 2.5rem);
}

.col-full {
	box-sizing: border-box;
	width: min(calc(100% - (var(--brod-container-gutter) * 2)), var(--brod-container-max));
	max-width: none;
	margin-right: auto;
	margin-left: auto;
	padding-right: 0;
	padding-left: 0;
}

.site-content > .col-full {
	padding-top: clamp(1.75rem, 3vw, 3rem);
}

/* =============================================
   1. LOGO
   ============================================= */

.custom-logo-link {
	display: flex;
	align-items: center;
}

/* More specific than Storefront's .site-header .custom-logo-link img (specificity 21).
   LazySizes auto-sizes the image; we constrain via height, not width. */
.site-header .custom-logo-link img.custom-logo {
	width: auto;
	max-width: none;
	height: auto;
	max-height: 78px;
	transition: max-height 0.22s ease;
}

/* Hide text title + tagline once a logo image is set */
body.has-custom-logo .site-title,
body.has-custom-logo .site-description {
	display: none;
}

/* =============================================
   2. SITE HEADER
   ============================================= */

.site-header {
	background-color: #ffffff;
	border-bottom: 1px solid rgba(16, 35, 38, 0.08);
	box-shadow: 0 14px 38px rgba(16, 35, 38, 0.08);
	color: #102326;
	padding-top: 0;
	margin-bottom: 0 !important; /* Storefront's .home.page .site-header adds 4.2358em via higher-specificity rule */
}

.site-header > .col-full {
	position: relative;
	z-index: 9997;
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.8vw, 3.4rem);
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
	min-height: 104px;
	padding: 0.95rem max(3.5rem, calc((100vw - 1800px) / 2)) 0.85rem;
	background: #ffffff;
	transition: min-height 0.22s ease, padding 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.site-header.brod-header-is-stuck {
	padding-top: var(--brod-sticky-header-offset, 0px);
}

.site-header.brod-header-is-stuck > .col-full {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	min-height: 78px;
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 16px 34px rgba(16, 35, 38, 0.12);
	backdrop-filter: blur(12px);
}

.site-header.brod-header-is-stuck .custom-logo-link img.custom-logo {
	max-height: 58px;
}

.site-header .skip-link.screen-reader-text {
	position: absolute !important;
	left: -9999em;
}

.site-header .skip-link.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 10000;
}

.site-branding {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	width: auto !important;
	margin-right: 0 !important;
}

/* =============================================
   3. SECONDARY NAVIGATION (utility links in header)
   ============================================= */

/* Secondary nav lives inside .col-full – hide it from the header;
   it is re-rendered in the footer via functions.php. */
.site-header .secondary-navigation {
	display: none;
}

/* Row 1 flex order: logo | search | account | cart */
.site-header .site-branding      { order: 1; }
.site-header .site-search,
.site-header .brod-header-search { order: 2; }
.site-header .brod-header-account { order: 3; }
.site-header .site-header-cart   { order: 4; }

/* =============================================
   3A. PRODUCT SEARCH
   ============================================= */

.site-header .site-search,
.site-header .brod-header-search {
	min-width: 0;
	display: flex;
}

.brod-header-search {
	flex: 1 1 38rem;
	width: auto;
	max-width: 620px;
	min-height: 58px;
	margin-right: auto;
	transition: width 0.22s ease, max-width 0.22s ease;
}

.brod-header-search:focus-within {
	max-width: 680px;
}

.brod-header-search .aws-container,
.brod-header-search form,
.brod-shop-search .aws-container,
.brod-shop-search form {
	width: 100%;
}

.brod-header-search .aws-container,
.brod-header-search .aws-search-form {
	height: 58px !important;
	min-height: 58px !important;
}

.brod-header-search .aws-search-form,
.brod-shop-search .aws-search-form,
.brod-header-search .woocommerce-product-search,
.brod-shop-search .woocommerce-product-search,
.brod-header-search .search-form,
.brod-shop-search .search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
}

.brod-header-search .aws-container .aws-search-form .aws-wrapper,
.brod-shop-search .aws-container .aws-search-form .aws-wrapper {
	width: 100% !important;
	flex: 1 1 auto !important;
}

.brod-header-search .aws-search-field,
.brod-shop-search .aws-search-field,
.brod-header-search input[type="search"],
.brod-shop-search input[type="search"] {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(16, 35, 38, 0.13);
	background: #ffffff;
	color: #102326;
	box-shadow: 0 10px 24px rgba(16, 35, 38, 0.13);
	letter-spacing: 0;
}

.brod-header-search .aws-search-field,
.brod-header-search input[type="search"] {
	min-height: 58px;
	padding: 0.85rem 4.5rem 0.85rem 1.65rem;
	border: 1px solid rgba(16, 35, 38, 0.13);
	border-radius: 18px !important;
	background: #ffffff;
	color: #102326;
	font-size: 0.98rem;
	font-weight: 500;
	box-shadow: 0 10px 26px rgba(16, 35, 38, 0.06);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.brod-shop-search .aws-search-field,
.brod-shop-search input[type="search"] {
	min-height: 58px;
	padding: 0.95rem 4rem 0.95rem 1.35rem;
	border-radius: 999px !important;
	font-size: 1rem;
}

.brod-header-search .aws-search-field:focus,
.brod-header-search input[type="search"]:focus,
.brod-shop-search .aws-search-field:focus,
.brod-shop-search input[type="search"]:focus {
	border-color: #297e89;
	box-shadow: 0 0 0 3px rgba(41, 126, 137, 0.18), 0 12px 28px rgba(16, 35, 38, 0.15);
	outline: none;
}

.site-header .brod-header-search .aws-search-field:focus,
.site-header .brod-header-search input[type="search"]:focus {
	border-color: rgba(41, 126, 137, 0.45);
	box-shadow: 0 0 0 3px rgba(41, 126, 137, 0.12), 0 14px 34px rgba(16, 35, 38, 0.08);
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn,
.brod-header-search button[type="submit"],
.brod-shop-search button[type="submit"] {
	position: absolute !important;
	top: 50% !important;
	right: 0.35rem !important;
	z-index: 3 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: #102326 !important;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none !important;
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn,
.brod-header-search button[type="submit"] {
	right: 0.85rem !important;
	width: 42px !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0;
	transform: translateY(-50%) !important;
}

.brod-shop-search .aws-container .aws-search-form .aws-search-btn,
.brod-shop-search button[type="submit"] {
	width: 46px !important;
	height: 46px !important;
	min-height: 46px !important;
	padding: 0;
	background: #297e89 !important;
	color: #ffffff !important;
	transform: translateY(-50%) !important;
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn:hover,
.brod-header-search .aws-container .aws-search-form .aws-search-btn:focus,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn:hover,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn:focus,
.brod-header-search button[type="submit"]:hover,
.brod-header-search button[type="submit"]:focus,
.brod-shop-search button[type="submit"]:hover,
.brod-shop-search button[type="submit"]:focus {
	background: rgba(41, 126, 137, 0.1) !important;
	color: #102326 !important;
}

.brod-shop-search .aws-container .aws-search-form .aws-search-btn:hover,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn:focus,
.brod-shop-search button[type="submit"]:hover,
.brod-shop-search button[type="submit"]:focus {
	background: #1e6270 !important;
	color: #ffffff !important;
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn svg,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn svg {
	display: block;
	width: 21px;
	height: 21px;
	margin: 0;
	fill: currentColor;
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn_icon,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
}

.brod-header-search .aws-container .aws-search-form .aws-search-btn svg path,
.brod-shop-search .aws-container .aws-search-form .aws-search-btn svg path {
	fill: currentColor;
}

.brod-header-search .aws-container .aws-search-form .aws-loader,
.brod-shop-search .aws-container .aws-search-form .aws-loader {
	position: absolute !important;
	top: 50% !important;
	z-index: 4 !important;
	display: none;
	box-sizing: border-box !important;
	margin: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	text-indent: -9999em;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.brod-header-search .aws-container .aws-search-form .aws-loader {
	right: calc(0.85rem + 6px) !important;
}

.brod-shop-search .aws-container .aws-search-form .aws-loader {
	right: calc(0.35rem + 4px) !important;
}

.brod-header-search .aws-container .aws-search-form .aws-loader,
.brod-header-search .aws-container .aws-search-form .aws-loader::after {
	width: 28px !important;
	height: 28px !important;
}

.brod-shop-search .aws-container .aws-search-form .aws-loader,
.brod-shop-search .aws-container .aws-search-form .aws-loader::after {
	width: 38px !important;
	height: 38px !important;
}

.brod-header-search .aws-container .aws-search-form .aws-loader,
.brod-shop-search .aws-container .aws-search-form .aws-loader {
	border: 2px solid rgba(41, 126, 137, 0.18) !important;
	border-top-color: #297e89 !important;
	border-left-color: #297e89 !important;
	transform: translateY(-50%) translateZ(0);
}

.brod-header-search .aws-container .aws-search-form.aws-processing .aws-loader,
.brod-shop-search .aws-container .aws-search-form.aws-processing .aws-loader {
	display: block !important;
	animation: brod-search-spin 0.72s linear infinite;
}

.brod-header-search .aws-container .aws-search-form.aws-processing .aws-search-btn svg,
.brod-shop-search .aws-container .aws-search-form.aws-processing .aws-search-btn svg {
	opacity: 0;
}

@keyframes brod-search-spin {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

.brod-shop-search {
	position: relative;
	margin: 0.25rem 0 1.75rem;
	padding: 1.35rem;
	border: 1px solid rgba(41, 126, 137, 0.18);
	border-radius: 8px;
	background: linear-gradient(135deg, #f7fbfb 0%, #ffffff 72%);
	box-shadow: 0 16px 34px rgba(23, 67, 72, 0.08);
}

.brod-shop-search::before {
	content: "Produktsuche";
	display: block;
	margin-bottom: 0.7rem;
	color: #102326;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
}

/* =============================================
   3B. ACCOUNT ICON
   ============================================= */

.brod-header-account {
	display: grid;
	grid-template-columns: 1fr;
	justify-items: center;
	align-items: center;
	gap: 0.35rem;
	color: #102326;
	text-decoration: none;
	padding: 0.2rem 1.1rem;
	flex: 0 0 auto;
	min-width: 88px;
	min-height: 58px;
	justify-content: center;
	border-right: 1px solid rgba(16, 35, 38, 0.1);
}

.brod-header-account:hover,
.brod-header-account:focus {
	color: #297e89;
}

.brod-header-account:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 2px;
	border-radius: 8px;
}

.brod-header-account__label {
	color: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.1;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.brod-header-account__label {
		display: none;
	}
}


/* =============================================
   4. HEADER NAV BAR (ROW 2)
   ============================================= */

.brod-header-nav-bar {
	background: #ffffff;
	border-bottom: 1px solid rgba(16, 35, 38, 0.08);
	position: relative;
	z-index: 100;
}

.brod-header-nav-bar .col-full {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2.6rem);
	width: min(calc(100% - 7rem), 1800px);
	min-height: 82px;
	padding-top: 0.55rem;
	padding-bottom: 0.9rem;
}

/* -- Alle Kategorien dropdown button -- */

.brod-categories-dropdown {
	position: relative;
	flex: 0 0 auto;
}

.brod-categories-btn {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	min-width: 205px;
	min-height: 56px;
	background: linear-gradient(135deg, #0a777a 0%, #198c8e 100%);
	color: #ffffff;
	border: none;
	padding: 0.85rem 1.35rem;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	border-radius: 8px;
	box-shadow: 0 12px 26px rgba(17, 130, 132, 0.2);
	white-space: nowrap;
}

.brod-categories-btn:hover,
.brod-categories-btn:focus {
	background: #1e6270;
	color: #ffffff;
}

.brod-categories-btn:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 3px;
}

.brod-categories-chevron {
	transition: transform 0.2s ease;
}

.brod-categories-btn[aria-expanded="true"] .brod-categories-chevron {
	transform: rotate(180deg);
}

.brod-categories-panel {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: 0;
	min-width: 280px;
	background: #ffffff;
	z-index: 200;
	border: 1px solid rgba(16, 35, 38, 0.1);
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(16, 35, 38, 0.16);
	overflow: hidden;
}

.brod-categories-panel[hidden] {
	display: none;
}

.brod-categories-panel ul {
	list-style: none;
	margin: 0;
	padding: 0.5em 0;
}

.brod-categories-panel ul li {
	margin: 0;
}

.brod-categories-panel ul li a {
	display: block;
	padding: 0.75rem 1.2rem;
	color: #102326;
	font-size: 0.875rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(16, 35, 38, 0.06);
}

.brod-categories-panel ul li:last-child a {
	border-bottom: none;
}

.brod-categories-panel ul li a:hover {
	background: #edf7f7;
	color: #297e89;
}

/* -- Primary nav links -- */

.brod-header-nav {
	flex: 0 1 auto;
}

.brod-header-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: clamp(0.85rem, 1.55vw, 1.8rem);
}

.brod-header-nav__list li {
	margin: 0;
}

.brod-header-nav__list li a {
	display: flex;
	align-items: center;
	padding: 0;
	color: #102326;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	min-height: 44px;
	text-transform: none;
	letter-spacing: 0;
	border-bottom: none;
	transition: color 0.15s ease;
}

.brod-header-nav__list li a:hover,
.brod-header-nav__list li.current-menu-item > a {
	color: #297e89;
}

.brod-header-nav__list li a:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 4px;
	border-radius: 4px;
}

.brod-header-promises {
	display: flex;
	align-items: center;
	gap: 0;
	margin-left: auto;
	color: #102326;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.brod-header-promise {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0 0.9rem;
	border-left: 1px solid rgba(16, 35, 38, 0.1);
}

.brod-header-promise:first-child {
	border-left: 0;
}

.brod-header-promise svg {
	flex: 0 0 auto;
	color: #297e89;
}

@media (max-width: 1540px) {
	.brod-header-promises {
		display: none;
	}

	.brod-header-nav {
		flex: 1 1 auto;
	}
}

/* =============================================
   5. CART / HEADER ICONS
   ============================================= */

.site-header-cart {
	flex: 0 0 auto;
	align-self: center;
	position: relative;
	z-index: 1000;
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	width: auto !important;
	float: none !important;
	list-style: none;
}

.site-header-cart::after {
	content: "";
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 9998;
	width: min(26rem, calc(100vw - 2rem));
	height: 2rem;
	background: transparent;
	pointer-events: auto;
}

.site-header-cart > li:first-child {
	display: flex;
	align-items: center;
}

.site-header-cart .cart-contents,
.site-header-cart .cart-contents:hover {
	display: grid !important;
	grid-template-columns: 2.15rem minmax(5.1rem, auto);
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 0.75rem;
	box-sizing: border-box;
	width: auto !important;
	min-width: 138px !important;
	max-width: none !important;
	height: 58px !important;
	min-height: 58px !important;
	padding: 0.15rem 0 0.15rem 1.1rem !important;
	border-radius: 0;
	color: #102326;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header-cart .cart-contents:hover,
.site-header-cart .cart-contents:focus {
	background-color: transparent;
	color: #297e89;
}

.site-header-cart .cart-contents:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 2px;
}

.site-header-cart .cart-contents::before,
.site-header-cart .cart-contents::after {
	content: none !important;
	display: none !important;
}

.site-header-cart .brod-cart-icon-wrap {
	grid-column: 1;
	grid-row: 1 / span 2;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	color: #102326;
}

.site-header-cart .brod-cart-icon {
	display: block;
	width: 1.95rem;
	height: 1.95rem;
}

.site-header-cart .cart-contents .brod-cart-label {
	grid-column: 2;
	grid-row: 1;
	display: block;
	color: #102326;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.05;
	white-space: nowrap;
}

.site-header-cart .cart-contents .amount {
	grid-column: 2;
	grid-row: 2;
	display: block;
	line-height: 1.15;
	color: #102326;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0;
	white-space: nowrap;
}

.site-header-cart .cart-contents .count {
	position: absolute;
	top: -0.45rem;
	right: -0.45rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	margin: 0;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: #297e89;
	color: #ffffff;
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	white-space: nowrap;
	opacity: 1;
}

.site-header-cart .widget_shopping_cart {
	position: absolute;
	top: calc(100% + 2rem) !important;
	right: 0 !important;
	left: auto !important;
	z-index: 9999;
	display: block !important;
	width: min(26rem, calc(100vw - 2rem)) !important;
	min-width: min(20rem, calc(100vw - 2rem));
	margin: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	background: #ffffff;
	border: 1px solid rgba(16, 35, 38, 0.12);
	border-radius: 8px;
	box-shadow: 0 20px 45px rgba(16, 35, 38, 0.22);
	color: #102326;
	opacity: 0;
	transform: translateY(-0.35rem);
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.site-header-cart:hover .widget_shopping_cart,
.site-header-cart:focus-within .widget_shopping_cart,
.site-header-cart.focus .widget_shopping_cart {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.site-header-cart .widget_shopping_cart::before {
	content: "";
	position: absolute;
	top: -0.45rem;
	right: 1.4rem;
	width: 0.9rem;
	height: 0.9rem;
	background: #ffffff;
	border-top: 1px solid rgba(16, 35, 38, 0.12);
	border-left: 1px solid rgba(16, 35, 38, 0.12);
	transform: rotate(45deg);
}

.site-header-cart .widget_shopping_cart_content {
	position: relative;
	background: #ffffff;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: 1.35rem 1.45rem;
	color: #102326;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.45;
}

.site-header-cart .widget_shopping_cart .product_list_widget {
	max-height: min(23rem, calc(100vh - 13rem));
	margin: 0;
	padding: 0;
	overflow-y: auto;
}

.site-header-cart .widget_shopping_cart .product_list_widget li {
	position: relative;
	min-height: 6.1rem;
	margin: 0;
	padding: 1rem 1rem 1rem 2.6rem;
	border-bottom: 1px solid rgba(16, 35, 38, 0.08);
	color: #102326;
	line-height: 1.35;
}

.site-header-cart .widget_shopping_cart .product_list_widget li a:not(.remove) {
	display: block;
	margin: 0 0 0.35rem;
	padding-left: 1.55rem;
	color: #102326;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart .product_list_widget li a:not(.remove):hover {
	color: #297e89;
}

.site-header-cart .widget_shopping_cart .product_list_widget li img {
	float: right;
	width: 4rem;
	height: 4rem;
	margin: 0 0 0.5rem 0.9rem;
	object-fit: contain;
	border: 1px solid rgba(16, 35, 38, 0.1);
	border-radius: 6px;
	background: #f7fbfb;
}

.site-header-cart .widget_shopping_cart .product_list_widget li .remove {
	position: absolute !important;
	top: 1rem !important;
	left: 1rem !important;
	float: none !important;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	border-radius: 999px;
	background: #e8f2f3;
	color: #297e89 !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart .product_list_widget li .remove:hover {
	background: #297e89;
	color: #ffffff !important;
}

.site-header-cart .widget_shopping_cart .quantity {
	display: block;
	margin-top: 0.35rem;
	padding-left: 1.55rem;
	color: #297e89;
	font-size: 0.93rem;
	font-weight: 700;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.25rem;
	background: #f7fbfb !important;
	border-bottom: 1px solid rgba(16, 35, 38, 0.08);
	color: #102326 !important;
	font-size: 1rem;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__total strong {
	font-weight: 700;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__total .amount {
	color: #102326;
	font-weight: 800;
	white-space: nowrap;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__tax {
	margin: 0;
	padding: 0.75rem 1.25rem 0;
	color: #51676b;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: right;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
	background: #ffffff;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.8rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	background: #297e89;
	color: #ffffff;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .button:hover,
.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .button:focus {
	background: #1e6270;
	color: #ffffff;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .checkout {
	background: #102326;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .checkout:hover,
.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__buttons .checkout:focus {
	background: #1e6270;
}

/* =============================================
   6. HERO / PAGE TITLE AREA
   ============================================= */

/* Hide the plain "Start" h1 – the hero section below it is enough */
body.home .entry-header {
	display: none;
}

body.home .site-content > .col-full {
	padding-top: 0;
}

body.home .hentry {
	margin-bottom: 0;
}

body.home .entry-content > *:first-child {
	margin-top: 0;
}

.brod-home-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 6vw, 6.2rem) 0 clamp(4.5rem, 6.5vw, 6.8rem);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 64%, #ffffff 100%),
		radial-gradient(circle at 14% 9%, rgba(41, 126, 137, 0.075), transparent 32rem),
		linear-gradient(135deg, #f7f8f4 0%, #ffffff 56%, #f3f6f4 100%);
}

.brod-home-hero__inner {
	display: grid;
	align-items: end;
	grid-template-columns: minmax(0, 1.18fr) minmax(20rem, 0.82fr);
	gap: clamp(2.5rem, 6vw, 7rem);
	width: min(calc(100% - (var(--brod-container-gutter) * 2)), var(--brod-content-max));
	margin: 0 auto;
}

.brod-home-hero__content,
.brod-home-hero__copy {
	min-width: 0;
}

.brod-home-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin: 0 0 clamp(1.85rem, 3vw, 2.7rem);
	padding: 0.48rem 1.1rem;
	background: rgba(41, 126, 137, 0.09);
	border-radius: 999px;
	color: #0f6870;
	font-size: clamp(0.8rem, 0.95vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.brod-home-hero h1 {
	max-width: 13em;
	margin: 0;
	color: #06252c;
	font-size: clamp(4.2rem, 6.35vw, 6.45rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 0.98;
}

.brod-home-hero h1 span {
	display: block;
	color: #1b7779;
}

.brod-home-hero__copy {
	margin: 0 0 clamp(1.1rem, 3vw, 3.6rem);
	color: #102326;
	font-size: clamp(1.1rem, 1.45vw, 1.45rem);
	line-height: 1.46;
}

body.home .brod-partner-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 5rem;
	padding: 1.15rem 1.35rem;
	background: #ffffff;
	border: 1px solid rgba(16, 35, 38, 0.12);
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(16, 35, 38, 0.06);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.home .brod-partner-logo-link:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 4px;
}

body.home .brod-partner-logo-link:hover {
	border-color: rgba(41, 126, 137, 0.28);
	box-shadow: 0 16px 34px rgba(16, 35, 38, 0.1);
	transform: translateY(-2px);
}

body.home .brod-partner-logo-card {
	margin: 0;
}

body.home .brod-partner-logo-link img {
	width: auto;
	max-width: 100%;
	max-height: 2.8rem;
	object-fit: contain;
	transition: opacity 0.18s ease;
}

body.home .brod-partner-logo-link:hover img {
	opacity: 0.82;
}

/* Photo-led category cards on the front page */
.brod-home-categories {
	padding: clamp(1.8rem, 3vw, 2.6rem) 0 3.5rem;
	background: #ffffff;
}

.brod-home-categories__inner {
	width: min(calc(100% - (var(--brod-container-gutter) * 2)), var(--brod-content-max));
	margin: 0 auto;
}

.brod-home-categories__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.6rem;
}

.brod-home-categories__header h2 {
	margin: 0 0 0.35rem;
	color: #102326;
	font-size: 1.75rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.brod-home-categories__header p {
	margin: 0;
	color: #5d7074;
	font-size: 0.95rem;
}

.brod-home-categories__all {
	flex: 0 0 auto;
	color: #297e89;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.brod-home-categories__all:hover,
.brod-home-categories__all:focus {
	color: #1e6270;
}

.brod-home-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.brod-home-category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 23rem;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(16, 35, 38, 0.1);
	border-radius: 8px;
	box-shadow: 0 16px 38px rgba(16, 35, 38, 0.08);
	color: #102326;
	text-decoration: none !important;
	transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.brod-home-category-card:hover,
.brod-home-category-card:focus-visible {
	border-color: rgba(41, 126, 137, 0.38);
	box-shadow: 0 22px 48px rgba(16, 35, 38, 0.14);
	color: #102326;
	transform: translateY(-4px);
}

.brod-home-category-card:focus-visible {
	outline: 3px solid rgba(41, 126, 137, 0.35);
	outline-offset: 4px;
}

.brod-home-category-card span {
	text-decoration: none;
}

.brod-home-category-card__media {
	position: relative;
	display: block;
	flex: 0 0 auto;
	height: 12.4rem;
	overflow: hidden;
	background: #eef4f5;
}

.brod-home-category-card__media::after {
	position: absolute;
	inset: auto 0 0;
	height: 45%;
	content: "";
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(16, 35, 38, 0.18));
	pointer-events: none;
}

.brod-home-category-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.55s ease;
}

.brod-home-category-card:hover .brod-home-category-card__media img,
.brod-home-category-card:focus-visible .brod-home-category-card__media img {
	transform: scale(1.06);
}

.brod-home-category-card__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 3.15rem 1.35rem 1.35rem;
	background: #ffffff;
}

.brod-home-category-card__body::before {
	position: absolute;
	top: -1.6rem;
	right: -10%;
	left: -10%;
	height: 3rem;
	content: "";
	background: #ffffff;
	border-radius: 50% 50% 0 0 / 80% 80% 0 0;
}

.brod-home-category-card__icon {
	position: absolute;
	top: -2.15rem;
	left: 1.35rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4.35rem;
	height: 4.35rem;
	background: #ffffff;
	border: 1px solid rgba(41, 126, 137, 0.12);
	border-radius: 50%;
	box-shadow: 0 12px 28px rgba(16, 35, 38, 0.15);
	color: #297e89;
	transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.brod-home-category-card:hover .brod-home-category-card__icon,
.brod-home-category-card:focus-visible .brod-home-category-card__icon {
	background: #297e89;
	color: #ffffff;
	transform: translateY(-3px);
}

.brod-home-category-card__title {
	display: block;
	width: 100%;
	margin: 0 0 0.75rem;
	color: #102326;
	font-size: 1.04rem;
	font-weight: 700;
	line-height: 1.25;
}

.brod-home-category-card__description {
	display: block;
	width: 100%;
	color: #53686c;
	font-size: 0.84rem;
	line-height: 1.58;
	opacity: 0;
	transform: translateY(0.35rem);
	transition: opacity 0.24s ease, transform 0.24s ease;
}

.brod-home-category-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: auto;
	padding-top: 1rem;
	color: #297e89;
	font-size: 0.84rem;
	font-weight: 700;
	opacity: 0;
	transform: translateY(0.6rem);
	transition: opacity 0.24s ease, transform 0.24s ease, color 0.18s ease;
}

.brod-home-category-card:hover .brod-home-category-card__description,
.brod-home-category-card:focus-visible .brod-home-category-card__description,
.brod-home-category-card:hover .brod-home-category-card__link,
.brod-home-category-card:focus-visible .brod-home-category-card__link {
	opacity: 1;
	transform: translateY(0);
}

.brod-home-category-card:hover .brod-home-category-card__link,
.brod-home-category-card:focus-visible .brod-home-category-card__link {
	color: #1e6270;
}

.brod-home-bestsellers {
	padding: 2.75rem 0 3.25rem;
	background: #ffffff;
}

.brod-home-bestsellers__inner {
	width: min(calc(100% - (var(--brod-container-gutter) * 2)), var(--brod-content-max));
	margin: 0 auto;
}

.brod-home-bestsellers__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.6rem;
}

.brod-home-bestsellers__header h2 {
	margin: 0 0 0.35rem;
	color: #102326;
	font-size: 1.75rem;
	line-height: 1.2;
	letter-spacing: 0;
}

.brod-home-bestsellers__header p {
	margin: 0;
	color: #5d7074;
	font-size: 0.95rem;
}

.brod-home-bestsellers__all {
	flex: 0 0 auto;
	color: #297e89;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.brod-home-bestsellers__all:hover,
.brod-home-bestsellers__all:focus {
	color: #1e6270;
}

.brod-home-bestsellers .woocommerce {
	margin: 0;
}

.brod-home-bestsellers .brod-product-archive ul.products {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product {
	align-items: stretch;
	text-align: left;
	padding: 0.85rem;
	border-color: rgba(16, 35, 38, 0.12);
	box-shadow: 0 12px 28px rgba(16, 35, 38, 0.06);
}

.brod-home-bestsellers .brod-product-archive ul.products li.product .woocommerce-loop-product__link {
	align-items: flex-start;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product img {
	max-width: 150px !important;
	height: 150px !important;
	margin-bottom: 0.85rem;
	align-self: center;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product .woocommerce-loop-product__title {
	min-height: calc(1.32em * 3);
	font-size: 0.83rem;
	line-height: 1.32;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product .brod-loop-sku {
	font-size: 0.72rem;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product .price {
	font-size: 0.88rem;
}

.brod-home-bestsellers .brod-product-archive ul.products li.product .button {
	align-self: stretch;
	max-width: none;
	min-height: 2.5rem;
	margin-top: 0.85rem;
	padding: 0.65rem 0.8rem;
	font-size: 0.74rem;
}

.brod-business-customer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2.25rem;
	padding: 1.35rem 1.55rem;
	background: linear-gradient(90deg, #f7fbfb 0%, #ffffff 54%, #f7fbfb 100%);
	border: 1px solid rgba(16, 35, 38, 0.1);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(16, 35, 38, 0.06);
}

.brod-business-customer__intro {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
}

.brod-business-customer__icon {
	display: inline-flex;
	flex: 0 0 4rem;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	background: #297e89;
	border-radius: 50%;
	box-shadow: 0 12px 28px rgba(41, 126, 137, 0.22);
	color: #ffffff;
}

.brod-business-customer h3 {
	margin: 0 0 0.25rem;
	color: #102326;
	font-size: 1.1rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.brod-business-customer p {
	max-width: 26rem;
	margin: 0;
	color: #53686c;
	font-size: 0.88rem;
	line-height: 1.45;
}

.brod-business-customer__benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #334b50;
	font-size: 0.82rem;
	font-weight: 600;
}

.brod-business-customer__benefits li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
}

.brod-business-customer__benefits span {
	display: inline-flex;
	flex: 0 0 2.35rem;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	background: rgba(41, 126, 137, 0.12);
	border-radius: 50%;
	color: #297e89;
}

/* =============================================
   7. BUTTONS
   ============================================= */

.button,
button,
input[type="submit"],
.wc-proceed-to-checkout a.checkout-button {
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	font-size: 0.8125rem;
}

/* =============================================
   8. PRODUCT CARDS
   ============================================= */

ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.875rem;
}

ul.products li.product .brod-loop-sku {
	display: block;
	color: #5d7074;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.35;
	margin: 0.25rem 0 0;
}

ul.products li.product .price {
	color: #297e89;
	font-weight: 600;
}

ul.products li.product .wc-gzd-additional-info.tax-info {
	display: none;
}

/* Filtered shop pages (shortcode-based): keep sidebar hidden */
body.brod-shop-page .content-area {
	float: none;
	width: 100%;
	margin-right: 0;
}

body.brod-shop-page .widget-area {
	display: none;
}

/* Hide sidebar globally; show only on shop and category archive pages */
.widget-area {
	display: none;
}

.content-area {
	float: none !important;
	width: 100% !important;
	margin-right: 0 !important;
}

/* Re-enable sidebar on shop + category pages only.
   Sidebar floats LEFT (content floats RIGHT) to match design. */
body.woocommerce-shop .widget-area,
body.tax-product_cat .widget-area {
	display: block;
	float: left;
	width: 24%;
	padding-top: 0;
	margin-right: 2%;
}

body.woocommerce-shop .content-area,
body.tax-product_cat .content-area {
	float: right !important;
	width: 73% !important;
	margin-right: 0 !important;
}

/* Sidebar widget styles */
body.woocommerce-shop .widget-area .widget,
body.tax-product_cat .widget-area .widget {
	margin-bottom: 1.5em;
	padding: 0;
}

body.woocommerce-shop .widget-area .widget-title,
body.tax-product_cat .widget-area .widget-title {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #102326;
	border-bottom: 2px solid #297e89;
	padding-bottom: 0.5em;
	margin-bottom: 0.75em;
}

body.woocommerce-shop .widget-area ul,
body.tax-product_cat .widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-shop .widget-area ul li,
body.tax-product_cat .widget-area ul li {
	padding: 0.25em 0;
	font-size: 0.875rem;
}

body.woocommerce-shop .widget-area ul li a,
body.tax-product_cat .widget-area ul li a {
	color: #333333;
	text-decoration: none;
}

body.woocommerce-shop .widget-area ul li a:hover,
body.tax-product_cat .widget-area ul li a:hover {
	color: #297e89;
}

/* Product category archives: hide the category list by default. The Customizer
   can re-enable the WooCommerce category widget. */
body.tax-product_cat.brod-hide-product-cat-category-nav .widget_product_categories {
	display: none;
}

body.tax-product_cat.brod-hide-product-cat-category-nav .widget-area {
	display: none;
}

body.tax-product_cat.brod-hide-product-cat-category-nav .content-area {
	float: none !important;
	width: 100% !important;
	margin-right: 0 !important;
}

body.tax-product_cat.brod-show-product-cat-category-nav .widget_product_categories li a {
	display: flex;
	align-items: center;
	min-height: 2rem;
	padding: 0.25rem 0.5rem;
	border-left: 3px solid transparent;
	border-radius: 3px;
}

body.tax-product_cat.brod-show-product-cat-category-nav .widget_product_categories li.current-cat > a,
body.tax-product_cat.brod-show-product-cat-category-nav .widget_product_categories li.current-cat-parent > a,
body.tax-product_cat.brod-show-product-cat-category-nav .widget_product_categories li.current-cat-ancestor > a {
	background: rgba(41, 126, 137, 0.1);
	border-left-color: #297e89;
	color: #1e6270;
	font-weight: 700;
}

/* =============================================
   8B. TRUST BAR
   ============================================= */

.brod-trust-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	padding: 1.25rem 0;
	margin: 1rem 0 1.5rem;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}

.brod-trust-bar__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #333333;
	min-width: 140px;
}

.brod-trust-bar__item svg {
	flex: 0 0 24px;
	color: #297e89;
}

/* Product page variant: tighter, no outer borders */
.brod-trust-bar--product {
	border: none;
	padding: 1rem 0 0;
	margin: 0;
	justify-content: flex-start;
}

.brod-trust-bar--product .brod-trust-bar__item {
	min-width: 120px;
}

/* =============================================
   8C. SHOP PAGE CTA BANNER
   ============================================= */

.brod-shop-cta-banner {
	background: #297e89;
	color: #ffffff;
	text-align: center;
	padding: 2.5rem 1.5rem;
	margin-top: 2.5rem;
	border-radius: 6px;
}

.brod-shop-cta-banner__text {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 1.25rem;
	color: #ffffff;
}

.brod-shop-cta-banner .brod-shop-cta-banner__btn {
	background: #ffffff;
	color: #297e89;
	border: 2px solid #ffffff;
	padding: 0.75rem 2rem;
	font-size: 0.9rem;
}

.brod-shop-cta-banner .brod-shop-cta-banner__btn:hover,
.brod-shop-cta-banner .brod-shop-cta-banner__btn:focus {
	background: transparent;
	color: #ffffff;
	border-color: #ffffff;
}

.brod-product-archive__controls {
	display: grid;
	grid-template-columns: minmax(180px, 280px) 1fr auto;
	gap: 1rem;
	align-items: center;
	margin: 0 0 2rem;
}

.brod-product-archive__controls--bottom {
	margin: 2rem 0 0;
}

.brod-product-archive__controls .woocommerce-ordering,
.brod-product-archive__controls .woocommerce-result-count {
	float: none;
	margin: 0;
}

.brod-product-archive__pagination ul {
	margin: 0;
}

.brod-product-archive__pagination .page-numbers {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.brod-product-archive__pagination .page-numbers li {
	margin: 0;
}

.brod-product-archive__pagination .page-numbers a,
.brod-product-archive__pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	padding: 0.25rem 0.5rem;
	background: #f4f4f4;
	text-decoration: none;
}

.brod-product-archive__pagination .page-numbers .current {
	background: #e2e2e2;
	color: #000000;
}

/* Shop with sidebar: 3 columns; shortcode archive keeps 4 */
.brod-product-archive ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

body.woocommerce-shop ul.products,
body.tax-product_cat ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.brod-product-archive ul.products::before,
.brod-product-archive ul.products::after,
body.woocommerce-shop ul.products::before,
body.woocommerce-shop ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
	content: none;
}

.brod-product-archive ul.products li.product,
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
	position: relative;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-self: stretch;
	min-height: 100%;
	padding: 1rem;
	background: #ffffff;
	border: 1px solid rgba(41, 126, 137, 0.16);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(23, 67, 72, 0.07);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brod-product-archive ul.products li.product:hover,
body.woocommerce-shop ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover {
	border-color: rgba(41, 126, 137, 0.34);
	box-shadow: 0 14px 34px rgba(23, 67, 72, 0.12);
	transform: translateY(-2px);
}

.brod-product-archive ul.products li.product img,
body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img {
	width: 100% !important;
	max-width: 220px !important;
	height: 220px !important;
	object-fit: contain;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0.9rem;
}

.brod-product-archive ul.products li.product .woocommerce-loop-product__link,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__link,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-width: 0;
	color: #102326;
	text-decoration: none;
}

.brod-product-archive ul.products li.product .woocommerce-loop-product__title,
.brod-product-archive ul.products li.product .price,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .price {
	width: 100%;
}

.brod-product-archive ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	overflow: hidden;
	color: #102326;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	padding: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.brod-product-archive ul.products li.product .price,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	margin: 0.55rem 0 0;
}

.brod-product-archive ul.products li.product .button,
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	max-width: 11rem;
	padding: 0.75rem 1rem;
	background-color: #297e89;
	border-radius: 4px;
	color: #ffffff;
	text-align: center;
}

.brod-product-archive ul.products li.product .button:hover,
.brod-product-archive ul.products li.product .button:focus,
body.woocommerce-shop ul.products li.product .button:hover,
body.woocommerce-shop ul.products li.product .button:focus,
body.tax-product_cat ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:focus {
	background-color: #1e6270;
	color: #ffffff;
}

/* =============================================
   8D. PRODUCT PAGE – INQUIRY BUTTON
   ============================================= */

/* Wrap the add-to-cart and inquiry button in a flex row */
.single-product .cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

/* Quantity input keeps natural size */
.single-product .cart .qty {
	flex: 0 0 auto;
}

/* Primary add-to-cart button */
.single-product .cart .single_add_to_cart_button {
	flex: 1 1 auto;
}

/* Inquiry button: outline style */
.brod-inquiry-btn.button {
	flex: 0 0 auto;
	background: transparent;
	color: #297e89;
	border: 2px solid #297e89;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	font-size: 0.8125rem;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

.brod-inquiry-btn.button:hover,
.brod-inquiry-btn.button:focus {
	background: #297e89;
	color: #ffffff;
	border-color: #297e89;
}

.brod-inquiry-btn.button:focus-visible {
	outline: 2px solid #297e89;
	outline-offset: 2px;
}

/* =============================================
   9. FOOTER
   ============================================= */

.site-footer {
	border-top: 3px solid #297e89;
}

/* Utility nav rendered in footer by functions.php */
.brod-footer-nav {
	text-align: center;
	margin-bottom: 0.75em;
}

.brod-footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.brod-footer-nav__list li a {
	color: #297e89;
	font-size: 0.75rem;
	padding: 3px 8px;
	text-decoration: none;
}

.brod-footer-nav__list li a:hover {
	color: #1e6270;
}

/* Social icons in footer nav */
.brod-footer-nav__list li a img {
	display: inline-block;
	width: 16px;
	height: 16px;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

/* =============================================
   10. GENERAL CLEANUP
   ============================================= */

/* Smoother font rendering */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Remove double borders on input fields */
.woocommerce-page input.input-text,
.woocommerce-page select,
.woocommerce-page textarea {
	border-radius: 3px;
}

/* Consistent link colour in body */
a {
	color: #297e89;
}

a:hover {
	color: #1e6270;
}

/* =============================================
   11. CONTENT MIGRATION
   ============================================= */

.brod-content-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.brod-content-card {
	border: 1px solid rgba(41, 126, 137, 0.18);
	border-radius: 4px;
	padding: 1.25rem;
	background: #ffffff;
}

.brod-content-card h2,
.brod-content-card h3 {
	margin-top: 0;
}

.brod-team-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin-bottom: 1rem;
}

.brod-team-card__role {
	font-weight: 600;
}

.brod-contact-form form {
	display: grid;
	gap: 1rem;
}

.brod-contact-form p {
	margin: 0;
}

.brod-contact-form label {
	display: block;
	font-weight: 600;
}

.brod-contact-form input[type="text"],
.brod-contact-form input[type="email"],
.brod-contact-form textarea {
	width: 100%;
}

.brod-contact-form__privacy label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
}

.brod-contact-form__privacy input {
	flex: 0 0 auto;
	margin-top: 0.3rem;
}

.brod-contact-form__privacy span {
	flex: 1 1 auto;
	min-width: 0;
}

.brod-map iframe {
	width: 100%;
	max-width: 100%;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.brod-home-category-card,
	.brod-home-category-card__media img,
	.brod-home-category-card__icon,
	.brod-home-category-card__description,
	.brod-home-category-card__link {
		transition: none;
	}
}

@media (max-width: 768px) {
	.col-full,
	.brod-home-categories__inner,
	.brod-home-bestsellers__inner {
		width: calc(100% - 2rem);
	}

	.site-header .col-full {
		flex-wrap: wrap;
		gap: 0.75rem;
		min-height: 0;
		padding-top: 0.8rem;
		padding-bottom: 0.95rem;
	}

	.site-header .custom-logo-link img.custom-logo {
		max-height: 58px;
	}

	.brod-header-account {
		min-width: 44px;
		min-height: 44px;
		padding: 0.2rem 0.75rem;
		margin-left: auto;
		border-right: 1px solid rgba(16, 35, 38, 0.1);
	}

	.brod-header-account svg {
		width: 25px;
		height: 25px;
	}

	.site-header-cart {
		align-self: center;
	}

	.site-header-cart .cart-contents,
	.site-header-cart .cart-contents:hover {
		grid-template-columns: 2rem minmax(3.5rem, auto);
		width: auto !important;
		min-width: 88px !important;
		height: 44px !important;
		min-height: 44px !important;
		padding: 0.1rem 0 !important;
		column-gap: 0.45rem;
	}

	.site-header-cart .brod-cart-icon-wrap {
		width: 1.9rem;
		height: 1.9rem;
	}

	.site-header-cart .brod-cart-icon {
		width: 1.8rem;
		height: 1.8rem;
	}

	.site-header-cart .cart-contents .brod-cart-label {
		display: none;
	}

	.site-header-cart .cart-contents .amount {
		grid-row: 1 / span 2;
		font-size: 0.85rem;
	}

	.site-header-cart .cart-contents .count {
		top: -0.35rem;
		right: -0.35rem;
		min-width: 1.15rem;
		height: 1.15rem;
		font-size: 0.67rem;
	}

	.site-header-cart::after,
	.site-header-cart .widget_shopping_cart {
		display: none !important;
	}

	/* Header nav bar: hide on mobile (rely on hamburger) */
	.brod-header-nav-bar {
		display: none;
	}

	.brod-home-hero {
		padding: 3.25rem 0 3rem;
	}

	.brod-home-hero__inner {
		grid-template-columns: 1fr;
		gap: 1.6rem;
	}

	.brod-home-hero__eyebrow {
		margin-bottom: 1.6rem;
		white-space: normal;
	}

	.brod-home-hero h1 {
		font-size: clamp(2.7rem, 11.6vw, 3.55rem);
		line-height: 1;
	}

	.brod-home-hero__copy {
		max-width: 34rem;
		font-size: 1.06rem;
	}

	.brod-home-categories {
		padding: 1.85rem 0 2.75rem;
	}

	.brod-home-categories__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.brod-home-categories__header h2 {
		font-size: 1.45rem;
	}

	.brod-home-categories__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.brod-home-category-card {
		min-height: 0;
	}

	.brod-home-category-card__media {
		height: 13.5rem;
	}

	.brod-home-category-card__description,
	.brod-home-category-card__link {
		opacity: 1;
		transform: none;
	}

	.brod-home-bestsellers {
		padding: 2.25rem 0 2.75rem;
	}

	.brod-home-bestsellers__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.brod-home-bestsellers__header h2 {
		font-size: 1.45rem;
	}

	.brod-home-bestsellers .brod-product-archive ul.products {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.brod-business-customer {
		align-items: flex-start;
		flex-direction: column;
		gap: 1.25rem;
		padding: 1.2rem;
	}

	.brod-business-customer__intro {
		align-items: flex-start;
	}

	.brod-business-customer__benefits {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.site-header .brod-header-search {
		order: 5;
		flex-basis: 100%;
		width: 100%;
		max-width: none;
		margin-right: 0;
	}

	.site-header .brod-header-search:focus-within {
		width: 100%;
	}

	.brod-header-search .aws-search-field,
	.brod-header-search input[type="search"] {
		min-height: 42px;
		font-size: 0.875rem;
	}

	.brod-shop-search {
		padding: 1rem;
		margin-bottom: 1.25rem;
	}

	.brod-product-archive__controls {
		grid-template-columns: 1fr;
	}

	.brod-product-archive ul.products,
	body.woocommerce-shop ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.brod-product-archive ul.products li.product img,
	body.woocommerce-shop ul.products li.product img,
	body.tax-product_cat ul.products li.product img {
		height: 220px;
	}

	.brod-product-archive__pagination .page-numbers {
		flex-wrap: wrap;
	}

	/* Shop sidebar stacks above product grid on mobile */
	body.woocommerce-shop .content-area,
	body.tax-product_cat .content-area {
		float: none !important;
		width: 100% !important;
		margin-right: 0 !important;
	}

	body.woocommerce-shop .widget-area,
	body.tax-product_cat .widget-area {
		float: none !important;
		width: 100% !important;
		margin-right: 0 !important;
	}

	/* Trust bar: 2x2 grid */
	.brod-trust-bar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	/* Product inquiry button stacks below add-to-cart */
	.single-product .cart {
		flex-direction: column;
		align-items: stretch;
	}

	.brod-inquiry-btn.button {
		flex: 0 0 auto;
		text-align: center;
		justify-content: center;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.brod-home-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brod-product-archive ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brod-home-bestsellers .brod-product-archive ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.brod-business-customer {
		align-items: flex-start;
		flex-direction: column;
	}

	body.woocommerce-shop ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.woocommerce-shop .content-area,
	body.tax-product_cat .content-area {
		width: 66% !important;
	}

	body.woocommerce-shop .widget-area,
	body.tax-product_cat .widget-area {
		width: 31% !important;
		margin-right: 2%;
	}
}

@media (min-width: 1280px) {
	body.woocommerce-shop .widget-area,
	body.tax-product_cat .widget-area {
		width: 20%;
		margin-right: 2%;
	}

	body.woocommerce-shop .content-area,
	body.tax-product_cat .content-area {
		width: 78% !important;
	}

	body.woocommerce-shop ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
