/* Final BeerHabits polish layer: typography, layout rhythm, header and Woo account flow. */

:root {
	--bh-font-body: "Manrope", "Segoe UI", sans-serif;
	--bh-font-display: "Oswald", "Arial Narrow", sans-serif;
	--bh-container-wide: min(1320px, calc(100% - 48px));
	--bh-container: min(1180px, calc(100% - 48px));
	--bh-container-reading: min(820px, calc(100% - 40px));
	--bh-section-y: 88px;
	--bh-section-y-tight: 56px;
	--bh-header-height: 84px;
	--bh-amber: #f3b33d;
	--bh-amber-soft: rgba(243, 179, 61, 0.16);
	--bh-ink: #05111d;
	--bh-navy: #071827;
	--bh-sea: #1aa0e0;
	--bh-radius-card: 8px;
	--bh-radius-control: 10px;
}

html {
	font-size: 16px;
	scroll-padding-top: calc(var(--bh-header-height) + 24px);
}

body {
	font-family: var(--bh-font-body);
	font-size: 1rem;
	line-height: 1.65;
	letter-spacing: 0;
	background:
		radial-gradient(circle at 14% 0%, rgba(26, 160, 224, 0.12), transparent 30rem),
		linear-gradient(180deg, #06131f 0%, #071827 42%, #06131f 100%) !important;
	color: rgba(255, 255, 255, 0.78);
	text-rendering: geometricPrecision;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-title,
body .page-title,
body .woocommerce-products-header__title,
body .product_title,
body .bh-section-title,
body .bh-hero-title {
	font-family: var(--bh-font-display) !important;
	font-weight: 700 !important;
	line-height: 1.04 !important;
	letter-spacing: 0 !important;
	color: #fff !important;
	text-wrap: balance;
}

body h1,
body .entry-title,
body .page-title,
body .woocommerce-products-header__title,
body .product_title,
body .bh-hero-title {
	font-size: 3.625rem !important;
	text-transform: uppercase;
}

body h2,
body .bh-section-title {
	font-size: 2.625rem !important;
}

body h3 {
	font-size: 1.625rem !important;
}

body h4 {
	font-size: 1.25rem !important;
}

body h5,
body h6 {
	font-size: 1rem !important;
}

body p,
body li,
body dd,
body td,
body th,
body input,
body textarea,
body select,
body button {
	letter-spacing: 0;
}

.site-container,
.content-container,
.site-main-header-inner-wrap,
.site-bottom-header-inner-wrap,
.site-middle-footer-inner-wrap,
.site-bottom-footer-inner-wrap {
	max-width: var(--bh-container-wide) !important;
}

.entry-content,
.page-content,
.woocommerce-account .entry-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	width: var(--bh-container);
	max-width: var(--bh-container);
	margin-inline: auto;
}

body:not(.home) .content-area,
body:not(.home) .site-main {
	background: transparent !important;
}

body:not(.home) .entry-header {
	width: var(--bh-container-reading);
	max-width: var(--bh-container-reading);
	margin: 54px auto 28px;
	text-align: center;
}

.bh-section {
	width: var(--bh-container);
	max-width: var(--bh-container);
	margin-inline: auto;
	padding-block: var(--bh-section-y) !important;
}

.bh-section--tight {
	padding-block: var(--bh-section-y-tight) !important;
}

.bh-section-title {
	max-width: 860px;
	margin: 12px auto 18px !important;
}

.bh-section-intro {
	max-width: 720px;
	margin-inline: auto !important;
	font-size: 1.05rem !important;
	line-height: 1.7 !important;
	color: rgba(255, 255, 255, 0.68) !important;
}

.bh-section-kicker,
.bh-newsletter__kicker {
	border-radius: 999px !important;
	border: 0 !important;
	background: rgba(243, 179, 61, 0.12) !important;
	color: var(--bh-amber) !important;
	box-shadow: none !important;
	letter-spacing: 0 !important;
	font-weight: 800 !important;
}

.bh-panel,
.bh-card,
.bh-advantage-card,
.bh-pairing-card,
.bh-carrier-card,
.bh-review-card,
.bh-company-band,
.bh-newsletter__inner,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	border-radius: var(--bh-radius-card) !important;
}

.bh-hero-orb,
.bh-newsletter__blob {
	display: none !important;
}

/* Full-width header and navigation. */
#masthead,
.site-header {
	position: sticky !important;
	top: 0;
	z-index: 1000;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

#main-header,
#mobile-header,
#main-header .site-header-row-container,
#mobile-header .site-header-row-container,
#main-header .site-header-row-container-inner,
#mobile-header .site-header-row-container-inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#main-header .site-container,
#mobile-header .site-container {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

#main-header .site-main-header-inner-wrap,
#mobile-header .site-main-header-inner-wrap {
	min-height: var(--bh-header-height) !important;
	width: 100% !important;
	max-width: none !important;
	padding-inline: clamp(18px, 3vw, 44px) !important;
}

#main-header .site-header-row-section-center,
#main-header .site-header-row-section-right {
	flex: 1 1 auto;
	justify-content: flex-end;
}

.main-navigation .menu {
	display: flex !important;
	align-items: center !important;
	gap: 2px !important;
	width: 100%;
}

.main-navigation .menu > li.bh-has-dropdown {
	display: inline-flex !important;
	align-items: center !important;
	gap: 3px !important;
}

.main-navigation .menu > li > a,
.bh-header-search,
.bh-language-toggle,
.bh-cart__trigger,
.bh-account-link {
	min-height: 46px !important;
	border: 0 !important;
	border-radius: var(--bh-radius-control) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, 0.76) !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-decoration: none !important;
}

.main-navigation .menu > li > a {
	padding-inline: 14px !important;
}

.main-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:focus,
.bh-header-search:hover,
.bh-header-search:focus-within,
.bh-language-toggle:hover,
.bh-language-toggle:focus,
.bh-cart__trigger:hover,
.bh-cart__trigger:focus,
.bh-account-link:hover,
.bh-account-link:focus {
	background: rgba(255, 255, 255, 0.075) !important;
	color: #fff !important;
	transform: none !important;
}

body.home .main-navigation .menu > li.menu-item-home > a,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current_page_item > a,
.main-navigation .menu > li.current-menu-ancestor > a,
.main-navigation .menu > li.current-menu-parent > a {
	background: rgba(26, 160, 224, 0.16) !important;
	color: #fff !important;
}

.main-navigation .menu > li.menu-item-wholesale > a {
	background: linear-gradient(135deg, rgba(243, 179, 61, 0.18), rgba(26, 160, 224, 0.12)) !important;
	color: #fff !important;
}

.bh-menu-search {
	margin-left: auto !important;
}

.bh-menu-account {
	margin-left: 0 !important;
}

.bh-header-search {
	width: clamp(150px, 10vw, 190px) !important;
	padding: 0 !important;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.060), rgba(255,255,255,0.022)),
		rgba(4, 17, 29, 0.78) !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
}

.bh-header-search:focus-within,
.bh-header-search:hover {
	width: clamp(180px, 13vw, 240px) !important;
	background: rgba(255, 255, 255, 0.105) !important;
	border-color: rgba(92, 197, 255, 0.30) !important;
}

.bh-header-search__icon {
	color: var(--bh-accent-strong) !important;
}

.bh-header-search__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	height: 100% !important;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	box-shadow: none !important;
	outline: 0 !important;
	-webkit-text-fill-color: #fff !important;
}

.bh-account-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0 14px !important;
	white-space: nowrap;
}

.bh-account-link__icon {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(243, 179, 61, 0.14);
	color: var(--bh-amber);
}

.bh-account-link__svg {
	display: block;
}

.bh-account-link__text {
	display: grid;
	gap: 1px;
	text-align: left;
}

.bh-account-link__label {
	font-size: 0.86rem;
	font-weight: 900;
	color: #fff;
}

.bh-account-link__sub {
	font-size: 0.68rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.46);
}

.bh-cart__count {
	background: var(--bh-amber) !important;
	color: #071827 !important;
}

/* Shoptimizer-inspired homepage flow, tuned for BeerHabits. */
.bh-homepage {
	overflow: hidden;
}

.bh-top-trust {
	width: 100%;
	background: rgba(255, 255, 255, 0.035) !important;
	border: 0 !important;
}

.bh-top-trust__inner {
	width: var(--bh-container-wide);
	max-width: var(--bh-container-wide);
	margin-inline: auto;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
}

.bh-top-trust__item {
	min-height: 62px;
	padding: 12px 16px !important;
	background: rgba(255, 255, 255, 0.035);
	border-radius: 0 !important;
}

.bh-top-trust__icon {
	color: var(--bh-amber) !important;
}

.bh-hero {
	width: var(--bh-container-wide);
	max-width: var(--bh-container-wide);
	min-height: 680px !important;
	margin: 0 auto !important;
	padding: 28px 0 64px !important;
}

.bh-hero-shell,
.bh-hero-panorama {
	min-height: 620px !important;
	border-radius: 0 !important;
}

.bh-hero-panorama {
	border: 0 !important;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42) !important;
}

.bh-hero-panorama__shade {
	background:
		linear-gradient(90deg, rgba(5, 17, 29, 0.94), rgba(5, 17, 29, 0.64) 48%, rgba(5, 17, 29, 0.18)) !important;
}

.bh-hero-panorama__content {
	width: min(1180px, calc(100% - 48px));
	margin-inline: auto;
	padding: 72px 0 !important;
}

/* Inner Tarne/Kontaktid reuse cinema hero, but must sit flush below the menu. */
.bh-inner-page .bh-hero--inner {
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 0 0 clamp(38px, 5vw, 70px) !important;
	padding: 0 !important;
	background: transparent !important;
}

.bh-inner-page .bh-hero--inner .bh-hero-shell,
.bh-inner-page .bh-hero--inner .bh-hero-panorama {
	width: 100% !important;
	max-width: none !important;
	height: clamp(360px, 38vw, 480px) !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

.bh-inner-page .bh-hero--inner .bh-hero-panorama__content {
	padding: clamp(46px, 7vw, 86px) 0 clamp(42px, 6vw, 76px) !important;
}

.bh-hero-copy {
	max-width: 650px !important;
}

.bh-hero-title {
	margin-bottom: 18px !important;
}

.bh-hero-text {
	max-width: 590px;
	font-size: 1.125rem !important;
	line-height: 1.72 !important;
	color: rgba(255, 255, 255, 0.78) !important;
}

.bh-hero-actions,
.bh-cta-actions,
.bh-sitewide-promo__actions {
	gap: 12px !important;
}

.bh-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	min-height: 46px !important;
	border-radius: var(--bh-radius-control) !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
}

.bh-button-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: linear-gradient(135deg, var(--bh-amber), #d98c20) !important;
	color: #071827 !important;
	box-shadow: 0 14px 30px rgba(216, 140, 32, 0.28) !important;
}

.bh-button-secondary,
.bh-button-ghost {
	border: 0 !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
}

.bh-hero-trust-strip {
	width: min(1180px, calc(100% - 48px));
	left: 50% !important;
	right: auto !important;
	transform: translateX(-50%) !important;
	border-radius: 0 !important;
	background: rgba(5, 17, 29, 0.92) !important;
	border: 0 !important;
}

.bh-section--advantages {
	padding-top: 48px !important;
}

.bh-advantage-grid,
.bh-product-grid,
.bh-pairing-grid,
.bh-carriers,
.bh-review-cards {
	gap: 16px !important;
}

.bh-advantage-card,
.bh-pairing-card,
.bh-carrier-card,
.bh-review-card {
	border: 0 !important;
	background: rgba(255, 255, 255, 0.055) !important;
	box-shadow: none !important;
}

.bh-advantage-card__index {
	color: rgba(243, 179, 61, 0.45) !important;
}

.bh-section--why,
.bh-section--company {
	background: rgba(255, 255, 255, 0.028) !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-inline: max(24px, calc((100% - 1180px) / 2)) !important;
}

.bh-why__layout,
.bh-company-band,
.bh-newsletter__inner {
	max-width: 1180px;
	margin-inline: auto;
}

.bh-section--pairing .bh-panel,
.bh-newsletter__inner {
	border: 0 !important;
	background: linear-gradient(135deg, rgba(8, 35, 54, 0.92), rgba(5, 17, 29, 0.92)) !important;
}

/* WooCommerce account and checkout path. */
.woocommerce-account .entry-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
	padding-block: 48px 80px;
}

.woocommerce-account .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	max-width: 1180px;
	margin-inline: auto;
}

body.woocommerce-account .woocommerce {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout,
.woocommerce-cart-form,
.cart_totals {
	border: 0 !important;
	border-radius: var(--bh-radius-card) !important;
	background: rgba(255, 255, 255, 0.06) !important;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
	color: rgba(255, 255, 255, 0.78) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a,
.woocommerce-account .woocommerce-MyAccount-content a {
	color: var(--bh-amber);
}

.woocommerce form .form-row label,
.woocommerce form label,
.woocommerce table.shop_table th {
	color: rgba(255, 255, 255, 0.78) !important;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.woocommerce .select2-container--default .select2-selection--single {
	border: 0 !important;
	border-radius: var(--bh-radius-control) !important;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
}

/* Repair scoped component typography and Woo surfaces after global heading scale. */
.site-branding .custom-logo,
.mobile-site-branding .custom-logo {
	max-width: clamp(92px, 8vw, 124px) !important;
	max-height: 82px !important;
	filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.site-branding .custom-logo-link,
.mobile-site-branding .custom-logo-link {
	min-width: clamp(98px, 8.4vw, 132px);
	justify-content: center;
}

body.woocommerce-account .entry-hero,
body.woocommerce-account .entry-hero-container-inner,
body.woocommerce-account .page-title-wrap,
body.woocommerce-account .bh-sitewide-promo {
	display: none !important;
}

body.woocommerce-account .content-wrap,
body.woocommerce-account .entry-content-wrap {
	padding-top: 0 !important;
	background: transparent !important;
}

body.woocommerce-account .entry-content {
	padding-block: 78px 92px !important;
}

.bh-product-card,
.woocommerce ul.products li.product.bh-product-card {
	border: 1px solid rgba(92, 197, 255, 0.12) !important;
	border-radius: var(--bh-radius-card) !important;
	background:
		linear-gradient(180deg, rgba(18, 50, 72, 0.94), rgba(9, 28, 44, 0.98)) !important;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24) !important;
	color: rgba(255, 255, 255, 0.76) !important;
}

.woocommerce ul.products li.product.bh-product-card {
	padding: 12px !important;
}

.bh-product-card__media {
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

.bh-product-card__body {
	padding: 14px 6px 4px !important;
}

.bh-product-card__cat {
	font-size: 0.7rem !important;
	letter-spacing: 0 !important;
	color: var(--bh-accent-strong) !important;
	opacity: 0.86 !important;
}

body .bh-product-card__title,
body .bh-product-card__title a,
body .bh-product-title,
body .bh-product-title a,
body .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--bh-font-display) !important;
	font-size: 1.18rem !important;
	font-weight: 700 !important;
	line-height: 1.08 !important;
	letter-spacing: 0 !important;
	color: #fff !important;
	text-transform: none !important;
}

body .bh-product-card__title {
	margin: 0 !important;
	padding: 0 !important;
}

.bh-product-card__desc {
	min-height: 42px !important;
	font-size: 0.82rem !important;
	line-height: 1.45 !important;
	color: rgba(255, 255, 255, 0.58) !important;
}

.bh-product-card__price,
.bh-product-card__price .amount {
	color: #fff !important;
	font-size: 0.96rem !important;
}

.bh-product-card .bh-btn,
.bh-product-card .button,
.bh-bestseller-card__btn {
	min-height: 36px !important;
	padding: 8px 12px !important;
	border-radius: 999px !important;
	font-size: 0.74rem !important;
	line-height: 1 !important;
	white-space: normal !important;
}

.woocommerce-account #customer_login,
.woocommerce-account .u-columns {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: 18px;
	max-width: 980px;
	margin: 0 auto !important;
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
	content: none !important;
	display: none !important;
}

.woocommerce-account #customer_login > .u-column1,
.woocommerce-account #customer_login > .u-column2,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce-account #customer_login > .u-column1,
.woocommerce-account #customer_login > .u-column2 {
	display: flex !important;
	min-width: 0;
	flex-direction: column;
	gap: 14px;
}

.woocommerce-account #customer_login h2 {
	margin: 0 !important;
}

body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3,
body.woocommerce-checkout .woocommerce h2,
body.woocommerce-checkout .woocommerce h3,
body.woocommerce-cart .woocommerce h2,
body.woocommerce-cart .woocommerce h3 {
	font-size: 1.75rem !important;
	line-height: 1.08 !important;
	letter-spacing: 0 !important;
	color: #fff !important;
}

.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	border: 1px solid rgba(92, 197, 255, 0.12) !important;
	background:
		linear-gradient(180deg, rgba(18, 50, 72, 0.94), rgba(9, 28, 44, 0.98)) !important;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24) !important;
}

.woocommerce form.login,
.woocommerce form.register {
	min-height: 100%;
	padding: 24px !important;
}

.woocommerce-account .woocommerce label,
.woocommerce-account .woocommerce p,
.woocommerce-account .woocommerce .woocommerce-privacy-policy-text,
.woocommerce-account .woocommerce .lost_password,
.woocommerce-checkout .woocommerce label,
.woocommerce-checkout .woocommerce p {
	color: rgba(255, 255, 255, 0.72) !important;
}

.woocommerce-account .woocommerce input.input-text,
.woocommerce-account .woocommerce select,
.woocommerce-account .woocommerce textarea,
.woocommerce-checkout .woocommerce input.input-text,
.woocommerce-checkout .woocommerce select,
.woocommerce-checkout .woocommerce textarea {
	min-height: 46px !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
}

.bh-cart-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	z-index: 10020 !important;
	width: min(420px, 100vw) !important;
	max-width: 100vw !important;
	transform: translateX(100%) !important;
	background:
		linear-gradient(180deg, rgba(18, 50, 72, 0.98), rgba(6, 19, 31, 0.99)) !important;
	color: rgba(255, 255, 255, 0.76) !important;
}

.bh-cart-drawer.is-open {
	transform: translateX(0) !important;
}

.bh-cart-drawer__title,
.bh-cart-drawer .woocommerce-mini-cart-item a,
.bh-cart-drawer__total-price {
	color: #fff !important;
}

.bh-cart-overlay {
	position: fixed !important;
	z-index: 10010 !important;
}

@media (max-width: 1180px) {
	:root {
		--bh-container-wide: min(1100px, calc(100% - 32px));
		--bh-container: min(1040px, calc(100% - 32px));
	}

	body h1,
	body .entry-title,
	body .page-title,
	body .woocommerce-products-header__title,
	body .product_title,
	body .bh-hero-title {
		font-size: 3rem !important;
	}

	body h2,
	body .bh-section-title {
		font-size: 2.25rem !important;
	}
}

@media (max-width: 960px) {
	:root {
		--bh-section-y: 64px;
		--bh-section-y-tight: 44px;
		--bh-header-height: 76px;
	}

	body h1,
	body .entry-title,
	body .page-title,
	body .woocommerce-products-header__title,
	body .product_title,
	body .bh-hero-title {
		font-size: 2.375rem !important;
	}

	body h2,
	body .bh-section-title {
		font-size: 1.875rem !important;
	}

	body h3 {
		font-size: 1.375rem !important;
	}

	#main-header .site-main-header-inner-wrap,
	#mobile-header .site-main-header-inner-wrap {
		width: var(--bh-container);
	}

	.site-branding .custom-logo,
	.mobile-site-branding .custom-logo {
		max-width: 88px !important;
		max-height: 70px !important;
	}

	.site-branding .custom-logo-link,
	.mobile-site-branding .custom-logo-link {
		min-width: 92px;
	}

	#mobile-drawer .drawer-inner {
		background: #06131f !important;
	}

	#mobile-drawer .mobile-navigation .menu {
		gap: 6px !important;
		padding: 18px !important;
	}

	#mobile-drawer .mobile-navigation .menu > li > a,
	#mobile-drawer .bh-account-link,
	#mobile-drawer .bh-language-toggle,
	#mobile-drawer .bh-cart__trigger {
		width: 100% !important;
		justify-content: flex-start !important;
		min-height: 50px !important;
		padding-inline: 16px !important;
		background: rgba(255, 255, 255, 0.06) !important;
	}

	.bh-menu-account {
		margin-left: 0 !important;
	}

	.woocommerce-account #customer_login,
	.woocommerce-account .u-columns {
		grid-template-columns: 1fr !important;
		max-width: 680px;
	}

	.bh-top-trust__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.bh-hero {
		width: 100%;
		min-height: auto !important;
		padding: 0 0 48px !important;
	}

	.bh-hero-shell,
	.bh-hero-panorama {
		min-height: 560px !important;
	}

	.bh-hero-panorama__content {
		width: min(720px, calc(100% - 32px));
		padding: 56px 0 120px !important;
	}

	.bh-hero-trust-strip {
		width: calc(100% - 32px);
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 640px) {
	:root {
		--bh-container-wide: calc(100% - 24px);
		--bh-container: calc(100% - 24px);
		--bh-section-y: 52px;
	}

	body h1,
	body .entry-title,
	body .page-title,
	body .woocommerce-products-header__title,
	body .product_title,
	body .bh-hero-title {
		font-size: 2rem !important;
	}

	body h2,
	body .bh-section-title {
		font-size: 1.65rem !important;
	}

	.bh-top-trust__inner {
		grid-template-columns: 1fr;
	}

	.bh-top-trust__item {
		min-height: 50px;
	}

	.bh-hero-shell,
	.bh-hero-panorama {
		min-height: 620px !important;
	}

	.bh-hero-actions,
	.bh-cta-actions,
	.bh-sitewide-promo__actions {
		display: grid !important;
		grid-template-columns: 1fr;
	}

	.bh-button,
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button {
		width: 100%;
		justify-content: center;
	}
}

/* BH 2026: desktop header controls move to a calmer second line. */
@media (min-width: 1025px) {
	#main-header .site-main-header-inner-wrap {
		min-height: 112px !important;
		align-items: center !important;
	}

	#main-header .site-branding .custom-logo,
	#main-header .mobile-site-branding .custom-logo {
		max-width: clamp(96px, 6.4vw, 132px) !important;
		max-height: 104px !important;
		filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.34)) !important;
	}

	#main-header .site-branding .custom-logo-link,
	#main-header .mobile-site-branding .custom-logo-link {
		min-height: 96px !important;
		align-items: center !important;
	}

	#main-header .main-navigation .menu {
		flex-wrap: wrap !important;
		align-content: center !important;
		justify-content: flex-end !important;
		row-gap: 10px !important;
		column-gap: 7px !important;
	}

	#main-header .main-navigation .menu::after {
		content: "";
		order: 1;
		flex: 0 0 100%;
		height: 0;
	}

	#main-header .main-navigation .menu > li {
		order: 0;
	}

	#main-header .main-navigation .menu > li.bh-menu-search,
	#main-header .main-navigation .menu > li.bh-menu-account,
	#main-header .main-navigation .menu > li.bh-menu-cart,
	#main-header .main-navigation .menu > li.menu-item-language {
		order: 2;
		margin-top: 0;
	}

	#main-header .main-navigation .menu > li.bh-menu-search {
		flex: 0 0 auto;
		justify-content: flex-end;
		margin-left: auto !important;
	}

	#main-header .main-navigation .menu > li.bh-menu-account,
	#main-header .main-navigation .menu > li.bh-menu-cart,
	#main-header .main-navigation .menu > li.menu-item-language {
		margin-left: 0 !important;
	}

	#main-header .main-navigation .menu > li > a,
	#main-header .main-navigation .menu > li.bh-has-dropdown > a,
	#main-header .bh-dropdown-toggle {
		min-height: 42px !important;
		border: 1px solid transparent !important;
		border-radius: 12px !important;
		background: transparent !important;
		color: rgba(255,255,255,0.82) !important;
		box-shadow: none !important;
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease !important;
	}

	#main-header .bh-dropdown-toggle,
	#main-header .bh-header-search,
	#main-header .bh-account-link,
	#main-header .bh-cart__trigger,
	#main-header .bh-language-toggle {
		min-height: 42px !important;
		border: 1px solid rgba(126, 224, 255, 0.12) !important;
		border-radius: 12px !important;
		background:
			linear-gradient(180deg, rgba(255,255,255,0.056), rgba(255,255,255,0.020)),
			rgba(3, 15, 27, 0.50) !important;
		color: rgba(255,255,255,0.82) !important;
		box-shadow: inset 0 1px 0 rgba(255,255,255,0.07) !important;
		backdrop-filter: blur(14px) !important;
		-webkit-backdrop-filter: blur(14px) !important;
		transition: width .24s ease, min-width .24s ease, max-width .24s ease, background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease !important;
	}

	#main-header .main-navigation .menu > li > a:hover,
	#main-header .main-navigation .menu > li > a:focus,
	#main-header .main-navigation .menu > li.bh-has-dropdown:hover > a,
	#main-header .main-navigation .menu > li.bh-has-dropdown:focus-within > a,
	#main-header .bh-dropdown-toggle:hover,
	#main-header .bh-dropdown-toggle:focus {
		border-color: transparent !important;
		background: rgba(255, 255, 255, 0.065) !important;
		color: var(--bh-white) !important;
		transform: translateY(-1px) !important;
	}

	#main-header .bh-dropdown-toggle:hover,
	#main-header .bh-dropdown-toggle:focus,
	#main-header .bh-header-search:hover,
	#main-header .bh-header-search:focus-within,
	#main-header .bh-account-link:hover,
	#main-header .bh-account-link:focus,
	#main-header .bh-cart__trigger:hover,
	#main-header .bh-cart__trigger:focus,
	#main-header .bh-language-toggle:hover,
	#main-header .bh-language-toggle:focus {
		border-color: rgba(126, 224, 255, 0.25) !important;
		background:
			linear-gradient(180deg, rgba(255,255,255,0.086), rgba(255,255,255,0.032)),
			rgba(5, 25, 42, 0.78) !important;
		color: var(--bh-white) !important;
		transform: translateY(-1px) !important;
	}

	#main-header .main-navigation .menu > li.current-menu-item > a,
	#main-header .main-navigation .menu > li.current_page_item > a,
	#main-header .main-navigation .menu > li.current-menu-ancestor > a,
	#main-header .main-navigation .menu > li.current-menu-parent > a {
		border-color: rgba(53, 202, 255, 0.12) !important;
		background: rgba(53, 202, 255, 0.11) !important;
		color: var(--bh-white) !important;
		box-shadow: inset 0 -2px 0 rgba(53, 202, 255, 0.46) !important;
	}

	#main-header .main-navigation .menu > li.menu-item-wholesale > a {
		border-color: rgba(247, 184, 75, 0.20) !important;
		background:
			linear-gradient(180deg, rgba(247, 184, 75, 0.14), rgba(247, 184, 75, 0.045)),
			rgba(5, 25, 42, 0.66) !important;
	}

	#main-header .main-navigation .menu > li.bh-has-dropdown {
		gap: 4px !important;
	}

	#main-header .bh-dropdown-toggle {
		width: 34px !important;
		min-width: 34px !important;
		margin-left: 0 !important;
		padding: 0 !important;
		border-color: rgba(126, 224, 255, 0.12) !important;
		background: rgba(255, 255, 255, 0.040) !important;
	}

	#main-header .bh-has-dropdown.is-open .bh-dropdown-toggle,
	#main-header .bh-has-dropdown:hover .bh-dropdown-toggle,
	#main-header .bh-has-dropdown:focus-within .bh-dropdown-toggle {
		color: var(--bh-accent-strong) !important;
	}

	#main-header .bh-header-search {
		width: 46px !important;
		min-width: 46px !important;
		max-width: 46px !important;
		height: 42px !important;
		overflow: hidden;
		border-color: rgba(126, 224, 255, 0.18) !important;
		background:
			linear-gradient(180deg, rgba(255,255,255,0.068), rgba(255,255,255,0.026)),
			rgba(3, 13, 24, 0.86) !important;
	}

	#main-header .bh-header-search:hover,
	#main-header .bh-header-search:focus-within {
		width: clamp(230px, 17vw, 320px) !important;
		min-width: clamp(230px, 17vw, 320px) !important;
		max-width: clamp(230px, 17vw, 320px) !important;
	}

	#main-header .bh-header-search__icon {
		width: 44px !important;
		flex-basis: 44px !important;
	}

	#main-header .bh-header-search__input {
		opacity: 0;
		pointer-events: none;
		transition: opacity .18s ease;
	}

	#main-header .bh-header-search:hover .bh-header-search__input,
	#main-header .bh-header-search:focus-within .bh-header-search__input {
		opacity: 1;
		pointer-events: auto;
	}

	#main-header .bh-account-link,
	#main-header .bh-cart__trigger {
		position: relative !important;
		width: 46px !important;
		min-width: 46px !important;
		max-width: 46px !important;
		min-height: 40px !important;
		justify-content: center !important;
		overflow: visible !important;
		padding-right: 10px !important;
		padding-left: 10px !important;
		white-space: nowrap;
	}

	#main-header .bh-account-link:hover,
	#main-header .bh-account-link:focus {
		width: 158px !important;
		min-width: 158px !important;
		max-width: 158px !important;
		justify-content: flex-start !important;
	}

	#main-header .bh-cart__trigger:hover,
	#main-header .bh-cart__trigger:focus {
		width: 142px !important;
		min-width: 142px !important;
		max-width: 142px !important;
		justify-content: flex-start !important;
	}

	#main-header .bh-account-link__text,
	#main-header .bh-cart__label,
	#main-header .bh-cart__subtotal {
		max-width: 0;
		opacity: 0;
		overflow: hidden;
		white-space: nowrap;
		transition: max-width .22s ease, opacity .16s ease;
	}

	#main-header .bh-account-link:hover .bh-account-link__text,
	#main-header .bh-account-link:focus .bh-account-link__text,
	#main-header .bh-cart__trigger:hover .bh-cart__label,
	#main-header .bh-cart__trigger:focus .bh-cart__label,
	#main-header .bh-cart__trigger:hover .bh-cart__subtotal,
	#main-header .bh-cart__trigger:focus .bh-cart__subtotal {
		max-width: 108px;
		opacity: 1;
	}

	#main-header .bh-cart__count {
		position: absolute;
		right: -7px;
		top: -7px;
		min-width: 21px !important;
		height: 21px !important;
		padding-inline: 5px !important;
		font-size: 0.72rem !important;
		line-height: 21px !important;
		z-index: 3;
	}

	#main-header .bh-language-toggle {
		min-width: 72px !important;
		min-height: 40px !important;
	}

	#main-header .bh-has-dropdown--mega .bh-dropdown-menu {
		top: calc(100% + 12px) !important;
		width: min(380px, calc(100vw - 48px)) !important;
		min-width: min(340px, calc(100vw - 48px)) !important;
		padding: 10px !important;
		gap: 4px !important;
		border-color: rgba(126, 224, 255, 0.20) !important;
		border-radius: 16px !important;
		background:
			linear-gradient(180deg, rgba(255,255,255,0.070), rgba(255,255,255,0.026)),
			rgba(5, 20, 34, 0.88) !important;
		box-shadow: 0 22px 58px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255,255,255,0.10) !important;
	}

	#main-header .bh-has-dropdown--mega .bh-dropdown-menu::before {
		background: rgba(4, 18, 31, 0.94) !important;
		border-color: rgba(126, 224, 255, 0.18) !important;
	}

	#main-header .bh-dropdown-menu--mega li a,
	#main-header .bh-dropdown-menu--mega .bh-dropdown-menu__all a {
		min-height: 42px !important;
		padding: 9px 14px 9px 36px !important;
		border-color: transparent !important;
		border-radius: 11px !important;
		background: transparent !important;
		color: rgba(255,255,255,0.86) !important;
		font-size: 0.88rem !important;
	}

	#main-header .bh-dropdown-menu--mega li a:hover,
	#main-header .bh-dropdown-menu--mega li a:focus {
		border-color: rgba(126, 224, 255, 0.28) !important;
		background: rgba(53, 202, 255, 0.12) !important;
		color: var(--bh-white) !important;
	}
}

/* BH 2026: centered desktop menu with right-side utility controls. */
@media (min-width: 1025px) {
	#main-header .site-main-header-inner-wrap {
		min-height: 104px !important;
		display: grid !important;
		grid-template-columns: minmax(128px, 188px) minmax(0, 1fr) !important;
		align-items: center !important;
		column-gap: clamp(18px, 3vw, 48px) !important;
	}

	#main-header .site-header-section-left,
	#main-header .site-header-row-section-left {
		justify-content: flex-start !important;
	}

	#main-header .site-header-section-center,
	#main-header .site-header-section-right,
	#main-header .site-header-row-section-center,
	#main-header .site-header-row-section-right {
		min-width: 0 !important;
		width: 100% !important;
		justify-content: stretch !important;
	}

	#main-header .main-navigation,
	#main-header .primary-menu-container,
	#main-header .site-header-item-main-navigation {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
	}

	#main-header .main-navigation .menu {
		width: 100% !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-start !important;
		align-content: center !important;
		row-gap: 0 !important;
		column-gap: clamp(5px, 0.6vw, 10px) !important;
	}

	#main-header .main-navigation .menu::after {
		display: none !important;
		content: none !important;
		flex-basis: 0 !important;
	}

	#main-header .main-navigation .menu > li {
		order: 0 !important;
		flex: 0 0 auto !important;
		margin-top: 0 !important;
	}

	#main-header .main-navigation .menu > li:first-child {
		margin-left: auto !important;
	}

	#main-header .main-navigation .menu > li.bh-menu-search {
		order: 0 !important;
		margin-left: auto !important;
	}

	#main-header .main-navigation .menu > li.bh-menu-account,
	#main-header .main-navigation .menu > li.bh-menu-cart,
	#main-header .main-navigation .menu > li.menu-item-language {
		order: 0 !important;
		margin-left: 0 !important;
	}

	#main-header .main-navigation .menu > li > a,
	#main-header .main-navigation .menu > li.bh-has-dropdown > a,
	#main-header .bh-dropdown-toggle,
	#main-header .bh-header-search,
	#main-header .bh-account-link,
	#main-header .bh-cart__trigger,
	#main-header .bh-language-toggle {
		min-height: 42px !important;
	}

	#main-header .main-navigation .menu > li > a,
	#main-header .main-navigation .menu > li.bh-has-dropdown > a,
	#main-header .bh-dropdown-toggle,
	#main-header .bh-dropdown-menu a,
	#main-header .bh-account-link__label,
	#main-header .bh-cart__label,
	#main-header .bh-language-toggle__code {
		font-family: var(--bh-font-display) !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: 0.045em !important;
	}

	#main-header .main-navigation .menu > li > a,
	#main-header .main-navigation .menu > li.bh-has-dropdown > a {
		font-size: 0.9rem !important;
		line-height: 1 !important;
	}

	#main-header .bh-dropdown-menu a,
	#main-header .bh-account-link__label,
	#main-header .bh-cart__label,
	#main-header .bh-language-toggle__code {
		font-size: 0.84rem !important;
		line-height: 1 !important;
	}

	#main-header .site-branding .custom-logo,
	#main-header .mobile-site-branding .custom-logo {
		max-width: clamp(128px, 8.2vw, 166px) !important;
		max-height: 118px !important;
		object-fit: contain !important;
	}

	#main-header .site-branding .custom-logo-link,
	#main-header .mobile-site-branding .custom-logo-link {
		min-height: 102px !important;
	}

	#main-header .bh-header-search {
		width: 46px !important;
		min-width: 46px !important;
		max-width: 46px !important;
	}

	#main-header .bh-header-search:hover,
	#main-header .bh-header-search:focus-within {
		width: clamp(170px, 14vw, 230px) !important;
		min-width: clamp(170px, 14vw, 230px) !important;
		max-width: clamp(170px, 14vw, 230px) !important;
	}

	#main-header .bh-account-link:hover,
	#main-header .bh-account-link:focus {
		width: 158px !important;
		min-width: 158px !important;
		max-width: 158px !important;
	}

	#main-header .bh-cart__trigger:hover,
	#main-header .bh-cart__trigger:focus {
		width: 134px !important;
		min-width: 134px !important;
		max-width: 134px !important;
	}

	#main-header .bh-language-toggle {
		min-width: 70px !important;
	}

	#main-header .bh-has-dropdown--mega .bh-dropdown-menu {
		top: calc(100% + 14px) !important;
	}
}

/* Tarne/Kontaktid use a homepage-style first viewport: menu directly into hero. */
body:has(.bh-inner-page) #inner-wrap,
body:has(.bh-inner-page) .site-main,
body:has(.bh-inner-page) .content-area,
body:has(.bh-inner-page) .content-container,
body:has(.bh-inner-page) .content-wrap,
body:has(.bh-inner-page) .entry-content-wrap,
body:has(.bh-inner-page) .entry-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body:has(.bh-inner-page) .bh-inner-page {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

@media (min-width: 1025px) {
	#main-header .bh-account-link:hover,
	#main-header .bh-account-link:focus,
	#main-header .main-navigation .menu > li.bh-menu-account:hover .bh-account-link,
	#main-header .main-navigation .menu > li.bh-menu-account:focus-within .bh-account-link {
		width: 158px !important;
		min-width: 158px !important;
		max-width: 158px !important;
		padding-inline: 10px !important;
	}

	#main-header .bh-account-link:hover .bh-account-link__text,
	#main-header .bh-account-link:focus .bh-account-link__text,
	#main-header .main-navigation .menu > li.bh-menu-account:hover .bh-account-link__text,
	#main-header .main-navigation .menu > li.bh-menu-account:focus-within .bh-account-link__text {
		max-width: 112px !important;
	}

	#main-header .bh-account-link__label,
	#main-header .bh-account-link__sub {
		overflow: visible !important;
		text-overflow: clip !important;
	}
}

/* Account area: refine existing WooCommerce account surfaces into the BeerHabits layout. */
body.woocommerce-account .site-main {
	background: transparent !important;
}

body.woocommerce-account .woocommerce {
	display: grid !important;
	width: min(1160px, calc(100% - 48px)) !important;
	max-width: 1160px !important;
	grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
	gap: clamp(24px, 3vw, 38px);
	align-items: start;
	margin: clamp(76px, 8vw, 118px) auto clamp(72px, 8vw, 112px) !important;
	padding: 0 !important;
}

body.woocommerce-account .account-navigation-wrap {
	grid-column: 1;
	width: 100% !important;
	max-width: 300px !important;
	min-width: 250px !important;
	justify-self: stretch;
	align-self: start;
	box-sizing: border-box;
	border: 0 !important;
}

body.woocommerce-account .account-content-wrap {
	grid-column: 2;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	justify-self: stretch;
	align-self: start;
	box-sizing: border-box;
	border: 0 !important;
}

body.woocommerce-account #customer_login,
body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) {
	grid-column: 1 / -1;
	width: 100% !important;
	justify-self: center;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-account .account-navigation-wrap::before,
body.woocommerce-account .account-navigation-wrap::after,
body.woocommerce-account .account-content-wrap::before,
body.woocommerce-account .account-content-wrap::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after,
body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses)::before,
body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses)::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2,
body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) > .u-column1,
body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) > .u-column2 {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	max-width: 100% !important;
	min-width: 0;
	box-sizing: border-box;
	border: 1px solid rgba(92, 197, 255, 0.16) !important;
	background:
		linear-gradient(145deg, rgba(20, 56, 78, 0.92), rgba(7, 26, 42, 0.96)) !important;
	box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 128px;
	width: 100% !important;
	max-width: 300px !important;
	margin-top: 0 !important;
	padding: 18px !important;
	border-radius: 24px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	width: 100% !important;
	min-height: 420px;
	padding: clamp(24px, 3vw, 38px) !important;
	border-radius: 26px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	min-height: 46px;
	padding: 12px 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.76) !important;
	font-weight: 800;
	line-height: 1.2;
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
	text-decoration: none !important;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 10px;
	border-radius: 50%;
	background: rgba(92, 197, 255, 0.45);
	box-shadow: 0 0 12px rgba(92, 197, 255, 0.32);
	flex: 0 0 auto;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	border-color: rgba(39, 182, 232, 0.55);
	background: linear-gradient(135deg, rgba(25, 121, 160, 0.36), rgba(255, 184, 48, 0.12));
	color: #fff !important;
	transform: translateX(3px);
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
	margin-top: 0 !important;
	padding: 22px 24px;
	border: 1px solid rgba(92, 197, 255, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 255, 255, 0.76) !important;
	line-height: 1.75;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-child::before {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bh-accent-strong), rgba(247, 184, 75, 0.72));
	box-shadow: 0 0 20px rgba(92, 197, 255, 0.24);
}

body.woocommerce-account .woocommerce-MyAccount-content a {
	color: var(--bh-amber) !important;
	text-underline-offset: 4px;
}

body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-customer-details address {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	border: 1px solid rgba(92, 197, 255, 0.14) !important;
	border-radius: 22px !important;
	background: rgba(255, 255, 255, 0.055) !important;
	color: rgba(255, 255, 255, 0.74) !important;
}

body.woocommerce-account .woocommerce table.shop_table,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account .woocommerce-EditAccountForm {
	padding: 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses {
	display: grid !important;
	width: min(640px, 100%) !important;
	max-width: 640px !important;
	grid-template-columns: 1fr !important;
	gap: 14px !important;
	align-items: stretch !important;
	margin: 24px auto 0 !important;
	padding: 16px !important;
	border: 1px solid rgba(92, 197, 255, 0.14) !important;
	border-radius: 24px !important;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
		rgba(6, 24, 39, 0.52) !important;
	box-shadow: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses::before,
body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address {
	display: grid !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	min-height: 0 !important;
	grid-template-columns: minmax(170px, 0.75fr) minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	float: none !important;
	margin: 0 !important;
	padding: 18px !important;
	border: 1px solid rgba(92, 197, 255, 0.14);
	border-radius: 18px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
		rgba(11, 38, 58, 0.58);
}

body.woocommerce-account .woocommerce-Address-title {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
	align-items: start;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3 {
	margin: 0 0 18px !important;
	font-size: clamp(1.35rem, 1.7vw, 1.7rem) !important;
	line-height: 1.12 !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
	hyphens: none !important;
}

body.woocommerce-account .woocommerce-Address-title .edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: 100%;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid rgba(92, 197, 255, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--bh-amber) !important;
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1.1;
	text-decoration: none !important;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.woocommerce-account .woocommerce-Address address {
	margin: 0 !important;
	color: rgba(255, 255, 255, 0.70);
	font-style: italic;
	line-height: 1.55;
}

body.woocommerce-account .bh-account-wishlist {
	display: grid;
	gap: 22px;
}

body.woocommerce-account .bh-account-wishlist__header {
	max-width: 680px;
}

body.woocommerce-account .bh-account-wishlist__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--bh-amber);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

body.woocommerce-account .bh-account-wishlist__kicker::before {
	content: "";
	width: 34px;
	height: 2px;
	border-radius: 999px;
	background: var(--bh-accent-strong);
}

body.woocommerce-account .bh-account-wishlist__header p,
body.woocommerce-account .bh-account-wishlist__empty p {
	color: rgba(255, 255, 255, 0.70) !important;
	line-height: 1.65;
}

body.woocommerce-account .bh-account-wishlist__grid {
	display: grid;
	gap: 14px;
}

body.woocommerce-account .bh-account-wishlist-card {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 14px;
	border: 1px solid rgba(92, 197, 255, 0.14);
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.070), rgba(255, 255, 255, 0.026)),
		rgba(7, 29, 46, 0.72);
}

body.woocommerce-account .bh-account-wishlist-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
}

body.woocommerce-account .bh-account-wishlist-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.woocommerce-account .bh-account-wishlist-card__body {
	display: grid;
	gap: 8px;
	min-width: 0;
}

body.woocommerce-account .bh-account-wishlist-card__cat {
	color: var(--bh-accent-strong);
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
}

body.woocommerce-account .bh-account-wishlist-card h3 {
	margin: 0 !important;
	font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
	line-height: 1.12 !important;
}

body.woocommerce-account .bh-account-wishlist-card__meta {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}

body.woocommerce-account .bh-account-wishlist-card__price {
	color: #fff;
	font-weight: 900;
}

body.woocommerce-account .bh-account-wishlist-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

body.woocommerce-account .bh-account-wishlist-card__remove {
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.78);
	font-weight: 900;
	cursor: pointer;
}

body.woocommerce-account .bh-account-wishlist__empty {
	padding: 22px;
	border: 1px solid rgba(92, 197, 255, 0.14);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.055);
}

body.woocommerce-account .woocommerce form .form-row {
	margin-bottom: 16px !important;
}

body.woocommerce-account .woocommerce input.input-text,
body.woocommerce-account .woocommerce textarea,
body.woocommerce-account .woocommerce select {
	border-color: rgba(92, 197, 255, 0.18) !important;
	background: rgba(8, 29, 46, 0.74) !important;
}

body.woocommerce-account .woocommerce .button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px !important;
	border: 1px solid rgba(92, 197, 255, 0.28) !important;
	border-radius: 999px !important;
	background: linear-gradient(135deg, var(--bh-accent), var(--bh-accent-strong)) !important;
	color: #fff !important;
	font-weight: 900 !important;
	text-decoration: none !important;
	box-shadow: 0 14px 28px rgba(0, 168, 226, 0.22) !important;
}

body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	border: 1px solid rgba(92, 197, 255, 0.16) !important;
	border-radius: 18px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 900px) {
	body.woocommerce-account .woocommerce {
		width: min(680px, calc(100% - 28px)) !important;
		grid-template-columns: 1fr;
		margin-top: 44px !important;
	}

	body.woocommerce-account .account-navigation-wrap,
	body.woocommerce-account .account-content-wrap {
		grid-column: 1;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		max-width: 100% !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses {
		width: 100% !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses.col2-set.addresses > .woocommerce-Address {
		grid-template-columns: 1fr;
		align-items: start;
	}

	body.woocommerce-account .bh-account-wishlist-card,
	body.woocommerce-account .bh-account-wishlist-card__meta {
		grid-template-columns: 1fr;
		display: grid;
	}

	body.woocommerce-account .bh-account-wishlist-card__media {
		width: 112px;
	}

	body.woocommerce-account .bh-account-wishlist-card__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account .woocommerce-MyAccount-content {
		padding: 20px !important;
	}

	body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
		padding: 18px;
	}

	body.woocommerce-account .woocommerce-info,
	body.woocommerce-account .woocommerce-message,
	body.woocommerce-account .woocommerce-error,
	body.woocommerce-account .woocommerce-Address-title {
		grid-template-columns: 1fr;
		display: grid;
	}
}

/* Site-wide foundation: keep every template on the same BeerHabits dark system. */
html,
body,
body.home,
body.page,
body.archive,
body.search,
body.error404,
body.woocommerce,
body.woocommerce-page,
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
	background: var(--bh-page-bg) !important;
	background-color: var(--bh-page-bg) !important;
	background-attachment: fixed !important;
	color: var(--bh-text-soft) !important;
	font-family: var(--bh-font-body) !important;
}

html:has(body.woocommerce-account),
html:has(body.woocommerce-checkout),
html:has(body.woocommerce-cart),
html:has(body.woocommerce-page),
body.woocommerce-account,
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-page {
	background-color: var(--bh-page-bg, #071827) !important;
}

body .site,
body #wrapper,
body #inner-wrap,
body .wp-site-blocks,
body .site-content,
body .content-area,
body .site-main,
body .content-container,
body .content-wrap,
body .entry,
body .entry-content,
body .entry-content-wrap,
body .page-content,
body .content-bg {
	background: transparent !important;
	color: var(--bh-text-soft) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .entry-title,
body .page-title,
body .woocommerce-products-header__title,
body .product_title,
body .bh-section-title,
body .bh-hero-title,
body .wc-block-components-title {
	color: var(--bh-text-strong) !important;
	font-family: var(--bh-font-display) !important;
	letter-spacing: 0 !important;
}

body p,
body li,
body dd,
body td,
body th,
body label,
body small,
body .woocommerce,
body .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error,
body .wc-block-components-form,
body .wc-block-components-formatted-money-amount,
body .wc-block-components-totals-item__label,
body .wc-block-components-totals-item__description {
	color: var(--bh-text-soft) !important;
}

body a:not(.button):not(.bh-button):not(.bh-btn):not(.bh-cart-btn):not(.wp-element-button) {
	color: var(--bh-accent-strong);
}

body input:not([type="checkbox"]):not([type="radio"]),
body textarea,
body select,
body .wc-block-components-text-input input,
body .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border-color: rgba(92, 197, 255, 0.18) !important;
	background: rgba(8, 29, 46, 0.74) !important;
	color: var(--bh-text-strong) !important;
	box-shadow: none !important;
}

body input::placeholder,
body textarea::placeholder {
	color: var(--bh-text-muted) !important;
}

body .bh-panel,
body .bh-glass-panel,
body .bh-card,
body .bh-feature-card,
body .bh-product-card,
body .bh-legal-card,
body .bh-legal-toc,
body .wp-block-group,
body .woocommerce table.shop_table,
body.woocommerce-cart .cart_totals,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account .woocommerce-EditAccountForm {
	border-color: rgba(92, 197, 255, 0.14) !important;
	background:
		linear-gradient(180deg, rgba(18, 50, 72, 0.84), rgba(8, 28, 44, 0.92)) !important;
	color: var(--bh-text-soft) !important;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

body .wp-block-cover,
body .wp-block-media-text,
body .wp-block-columns {
	background-color: transparent !important;
	color: var(--bh-text-soft) !important;
}

body .bh-footer {
	background:
		linear-gradient(180deg, rgba(9, 31, 48, 0.96), rgba(5, 17, 29, 0.98)) !important;
	color: var(--bh-text-soft) !important;
}

/* Shared hero video reveal: poster first, video fades in only when ready. */
body .bh-hero--cinema .bh-hero-panorama {
	background: var(--bh-hero-image, #071827) center / cover no-repeat;
}

body .bh-hero--cinema .bh-hero-video {
	opacity: 0;
	filter: saturate(0.96) contrast(0.98);
	transition:
		opacity 0.9s ease,
		filter 1.1s ease;
	will-change: opacity, filter;
}

body .bh-hero--cinema.is-video-ready .bh-hero-video,
body .bh-hero--cinema .bh-hero-video.is-playing,
body .bh-hero--cinema .bh-hero-video.is-video-ready {
	opacity: 1;
	filter: saturate(1) contrast(1);
}

body .bh-hero--cinema.is-video-loading .bh-hero-video {
	opacity: 0;
}

body .bh-hero--cinema.is-video-fallback .bh-hero-video:not(.is-video-ready) {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	body .bh-hero--cinema .bh-hero-video {
		transition: opacity 0.2s ease;
	}
}

/* Keep the mobile hamburger icon the same white tone on every page. */
@media (max-width: 768px) {
	#mobile-header .site-header-item .drawer-toggle,
	#mobile-header .site-header-item .drawer-toggle:hover,
	#mobile-header .site-header-item .drawer-toggle:focus,
	#mobile-header .drawer-toggle,
	#mobile-header .drawer-toggle:hover,
	#mobile-header .drawer-toggle:focus,
	#mobile-header .menu-toggle-open,
	#mobile-header .menu-toggle-open:hover,
	#mobile-header .menu-toggle-open:focus,
	body #mobile-header .mobile-toggle-open-container .drawer-toggle.menu-toggle-open,
	body #mobile-header .mobile-toggle-open-container .drawer-toggle.menu-toggle-open:hover,
	body #mobile-header .mobile-toggle-open-container .drawer-toggle.menu-toggle-open:focus {
		color: var(--bh-white) !important;
	}

	#mobile-header .menu-toggle-open svg,
	#mobile-header .menu-toggle-open .kadence-svg-icon,
	#mobile-header .menu-toggle-open .kadence-svg-iconset,
	#mobile-header .menu-toggle-open .menu-toggle-icon {
		color: var(--bh-white) !important;
		stroke: currentColor !important;
	}

	#mobile-header .menu-toggle-open svg [stroke]:not([stroke="none"]) {
		stroke: currentColor !important;
	}

	#mobile-header .menu-toggle-open .menu-toggle-icon {
		background: transparent !important;
	}

	#mobile-header .menu-toggle-open .menu-toggle-icon::before,
	#mobile-header .menu-toggle-open .menu-toggle-icon::after {
		background: currentColor !important;
	}
}

/* Match the home mobile video hero rhythm to Tarne/Kontaktid. */
@media (max-width: 640px) {
	body.home .bh-hero--cinema,
	body.bh-home .bh-hero--cinema {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-height: 0 !important;
		height: auto !important;
		margin: 0 0 clamp(34px, 8vw, 48px) !important;
		padding: 0 !important;
		background: transparent !important;
	}

	body.home .bh-hero--cinema .bh-hero-shell,
	body.home .bh-hero--cinema .bh-hero-panorama,
	body.bh-home .bh-hero--cinema .bh-hero-shell,
	body.bh-home .bh-hero--cinema .bh-hero-panorama {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		height: 430px !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border-radius: 0 !important;
	}

	body.home .bh-hero--cinema .bh-hero-video,
	body.bh-home .bh-hero--cinema .bh-hero-video {
		height: 100% !important;
		min-height: 0 !important;
		object-fit: cover !important;
		object-position: center center !important;
	}

	body.home .bh-hero--cinema .bh-hero-panorama__content,
	body.bh-home .bh-hero--cinema .bh-hero-panorama__content {
		width: min(100%, calc(100vw - 30px)) !important;
		min-height: 0 !important;
		height: 100% !important;
		padding: 34px 0 32px !important;
		align-items: center !important;
		justify-content: center !important;
	}

	body.home .bh-hero--cinema .bh-hero-copy,
	body.bh-home .bh-hero--cinema .bh-hero-copy {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		text-align: center !important;
	}

	body.home .bh-hero--cinema .bh-section-kicker,
	body.bh-home .bh-hero--cinema .bh-section-kicker {
		display: none !important;
	}

	body.home .bh-hero--cinema .bh-hero-title,
	body.bh-home .bh-hero--cinema .bh-hero-title {
		max-width: 12.6ch !important;
		margin: 0 auto 12px !important;
		font-size: clamp(1.9rem, 8.4vw, 2.45rem) !important;
		line-height: 1.02 !important;
		text-align: center !important;
	}

	body.home .bh-hero--cinema .bh-hero-text,
	body.bh-home .bh-hero--cinema .bh-hero-text {
		max-width: 29ch !important;
		margin: 0 auto 16px !important;
		font-size: clamp(0.94rem, 4vw, 1.02rem) !important;
		line-height: 1.48 !important;
		text-align: center !important;
	}

	body.home .bh-hero--cinema .bh-hero-actions,
	body.bh-home .bh-hero--cinema .bh-hero-actions {
		display: grid !important;
		grid-template-columns: 1fr !important;
		width: min(100%, 330px) !important;
		margin: 0 auto !important;
		gap: 10px !important;
	}

	body.home .bh-hero--cinema .bh-hero-actions .bh-button,
	body.home .bh-hero--cinema .bh-hero-actions a,
	body.bh-home .bh-hero--cinema .bh-hero-actions .bh-button,
	body.bh-home .bh-hero--cinema .bh-hero-actions a {
		width: 100% !important;
		min-height: 48px !important;
		padding: 0 18px !important;
		justify-content: center !important;
		font-size: 0.92rem !important;
	}

	body.home .bh-hero-trust-strip,
	body.bh-home .bh-hero-trust-strip {
		position: relative !important;
		left: auto !important;
		bottom: auto !important;
		width: min(100%, calc(100vw - 28px)) !important;
		margin: 18px auto 0 !important;
		transform: none !important;
	}
}

/* Keep topbar icons stable when WordPress replaces emoji with image assets. */
.bh-topbar .bh-topbar__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.15em;
	min-width: 1.15em;
	height: 1.15em;
	color: var(--bh-amber, #f7b84b);
}

.bh-topbar .bh-topbar__icon img.emoji,
.bh-topbar .bh-topbar__icon svg {
	display: block !important;
	width: 1em !important;
	min-width: 1em !important;
	max-width: 1em !important;
	height: 1em !important;
	min-height: 1em !important;
	max-height: 1em !important;
	margin: 0 !important;
	object-fit: contain;
}

@media (max-width: 640px) {
	.bh-homepage .bh-bestsellers-slider,
	.bh-homepage .bh-review-cards {
		width: calc(100vw - 28px) !important;
		margin-right: auto !important;
		margin-left: auto !important;
		overflow: hidden !important;
		mask-image: none !important;
	}

	.bh-homepage .bh-bestsellers-slider__track,
	.bh-homepage .bh-review-cards {
		display: flex !important;
		box-sizing: border-box;
		flex-wrap: nowrap !important;
		gap: 14px !important;
		width: calc(100vw - 28px) !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding: 4px 14px 18px !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		scroll-behavior: smooth;
		scroll-padding-inline: 14px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		transform: none !important;
	}

	.bh-homepage .bh-bestsellers-slider__track::-webkit-scrollbar,
	.bh-homepage .bh-review-cards::-webkit-scrollbar {
		display: none;
	}

	.bh-homepage .bh-bestsellers-slider__track .bh-bestseller-card,
	.bh-homepage .bh-review-cards .bh-review-card {
		flex: 0 0 min(82vw, 340px) !important;
		max-width: min(82vw, 340px) !important;
		min-width: 0 !important;
		scroll-snap-align: center;
	}

	.bh-homepage .bh-bestsellers-slider__track .bh-bestseller-card[aria-hidden="true"] {
		display: none !important;
	}
}

/* Mobile polish pass: keep carousel cards centered and reduce shop clutter. */
@media (max-width: 640px) {
	.bh-homepage .bh-bestsellers-slider,
	.bh-homepage .bh-review-cards {
		width: min(360px, calc(100vw - 32px)) !important;
		max-width: calc(100vw - 32px) !important;
	}

	.bh-homepage .bh-bestsellers-slider__track,
	.bh-homepage .bh-review-cards {
		width: 100% !important;
		gap: 0 !important;
		padding: 4px 0 18px !important;
		scroll-padding-inline: 0;
	}

	.bh-homepage .bh-bestsellers-slider__track .bh-bestseller-card,
	.bh-homepage .bh-review-cards .bh-review-card {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.bh-homepage .bh-bestsellers-slider__nav {
		margin-top: 12px !important;
	}

	.bh-shop .bh-cat-showcase {
		display: none !important;
	}

	.bh-shop .bh-shop-curated {
		display: none !important;
	}
}

.bh-shop .bh-slider__image img {
	clip-path: none !important;
	object-fit: contain !important;
	object-position: center !important;
	aspect-ratio: 16 / 10 !important;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(8, 31, 48, 0.26)),
		rgba(8, 27, 42, 0.44) !important;
	transform: none !important;
}

.bh-shop .bh-slider__slide.is-active .bh-slider__image img {
	animation: none !important;
}

@media (min-width: 641px) {
	.bh-shop .bh-slider__image img {
		width: min(45vw, 600px) !important;
		max-height: min(38vw, 480px) !important;
		padding: clamp(10px, 1vw, 16px);
	}
}

@media (max-width: 640px) {
	.bh-shop .bh-slider {
		height: auto !important;
		min-height: 0 !important;
	}

	.bh-shop .bh-slider__slide {
		grid-template-columns: minmax(0, 1fr) !important;
		align-content: center !important;
		min-height: 600px !important;
		padding: 34px 20px 92px !important;
		gap: 14px !important;
		text-align: center !important;
	}

	.bh-shop .bh-slider__content {
		display: grid !important;
		justify-items: center !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		text-align: center !important;
	}

	.bh-shop .bh-slider__kicker {
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.bh-shop .bh-slider__title {
		max-width: 13ch !important;
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: clamp(1.9rem, 8.4vw, 2.55rem) !important;
		line-height: 1.02 !important;
		text-align: center !important;
	}

	.bh-shop .bh-slider__text {
		max-width: 29ch !important;
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: 0.96rem !important;
		line-height: 1.46 !important;
		text-align: center !important;
	}

	.bh-shop .bh-slider__perks {
		width: min(100%, 320px) !important;
		margin: 0 auto 14px !important;
		text-align: left !important;
	}

	.bh-shop .bh-slider__btn {
		width: min(100%, 320px) !important;
		justify-content: center !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}

	.bh-shop .bh-slider__image {
		position: relative !important;
		display: flex !important;
		width: min(100%, 330px) !important;
		min-height: 0 !important;
		margin: 12px auto 0 !important;
		opacity: 1 !important;
	}

	.bh-shop .bh-slider__image::before {
		inset: 8% 4%;
		width: auto;
		height: auto;
	}

	.bh-shop .bh-slider__image img {
		width: 100% !important;
		height: auto !important;
		max-height: 178px !important;
		padding: 8px;
		border-radius: 18px !important;
		aspect-ratio: 16 / 9 !important;
	}
}

/* Mobile WooCommerce account forms. */
@media (max-width: 640px) {
	body.woocommerce-account .content-container.site-container,
	body.woocommerce-account #main.site-main,
	body.woocommerce-account article.entry,
	body.woocommerce-account .entry-content-wrap,
	body.woocommerce-account .entry-content.single-content,
	body.woocommerce-account .entry-content.single-content > .woocommerce {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	body.woocommerce-account .content-container.site-container {
		padding-right: 14px !important;
		padding-left: 14px !important;
	}

	body.woocommerce-account .entry-content-wrap,
	body.woocommerce-account .entry-content.single-content > .woocommerce {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	body.woocommerce-account .entry-content.single-content {
		padding-top: 30px !important;
		padding-bottom: 58px !important;
	}

	body.woocommerce-account #customer_login,
	body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		width: min(100%, calc(100vw - 28px)) !important;
		max-width: none !important;
		gap: 18px !important;
		margin: 22px auto 42px !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.woocommerce-account #customer_login > .u-column1,
	body.woocommerce-account #customer_login > .u-column2,
	body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) > .u-column1,
	body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) > .u-column2 {
		width: 100% !important;
		min-width: 0 !important;
		float: none !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	body.woocommerce-account #customer_login h2,
	body.woocommerce-account .woocommerce > .u-columns:not(.woocommerce-Addresses) h2 {
		margin: 0 0 12px !important;
		font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
		line-height: 1.05 !important;
		text-align: left !important;
	}

	body.woocommerce-account form.login,
	body.woocommerce-account form.register {
		width: 100% !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 20px !important;
		border-radius: 18px !important;
	}

	body.woocommerce-account form.login .form-row,
	body.woocommerce-account form.register .form-row {
		display: grid !important;
		gap: 8px !important;
		margin-bottom: 14px !important;
	}

	body.woocommerce-account form.login input.input-text,
	body.woocommerce-account form.register input.input-text,
	body.woocommerce-account form.login input[type="text"],
	body.woocommerce-account form.login input[type="email"],
	body.woocommerce-account form.login input[type="password"],
	body.woocommerce-account form.register input[type="text"],
	body.woocommerce-account form.register input[type="email"],
	body.woocommerce-account form.register input[type="password"] {
		width: 100% !important;
		min-height: 48px !important;
		font-size: 16px !important;
	}

	body.woocommerce-account form.login .button,
	body.woocommerce-account form.register .button,
	body.woocommerce-account form.login button[type="submit"],
	body.woocommerce-account form.register button[type="submit"] {
		width: 100% !important;
		min-height: 50px !important;
		justify-content: center !important;
	}

	body.woocommerce-account .woocommerce-form-login__rememberme,
	body.woocommerce-account .woocommerce-privacy-policy-text {
		font-size: 0.9rem !important;
		line-height: 1.45 !important;
	}
}

/* Checkout cleanup: keep Woo Blocks open on the page background. */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .woocommerce .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout:not(.components-placeholder),
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel__content {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
	border: 0 !important;
	border-bottom: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading-content {
	font-family: var(--bh-font-body, "Manrope", "Segoe UI", sans-serif) !important;
	font-size: clamp(1.02rem, 1.05vw, 1.16rem) !important;
	font-weight: 850 !important;
	line-height: 1.18 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
	margin: 0 0 18px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	margin: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading-content {
	margin: 0 !important;
}

body.woocommerce-checkout .wc-block-components-title:not(.wc-block-components-checkout-step__title) {
	margin-bottom: 12px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__content {
	margin-top: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title::before {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border: 1px solid rgba(92, 197, 255, 0.22);
	border-radius: 999px;
	background:
		linear-gradient(145deg, rgba(92, 197, 255, 0.16), rgba(246, 184, 73, 0.08)),
		rgba(8, 29, 46, 0.72);
	color: var(--bh-checkout-accent-strong, #f6b849);
	font-family: var(--bh-font-body, "Manrope", "Segoe UI", sans-serif);
	font-size: 0.86rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkout-step__title::before {
	content: "@";
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__title::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block .wc-block-components-checkout-step__title::before {
	content: "\2302";
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block .wc-block-components-checkout-step__title::before {
	content: "\2192";
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block .wc-block-components-checkout-step__title::before {
	content: "\20AC";
}

body.woocommerce-checkout .wc-block-components-sidebar h2,
body.woocommerce-checkout .wc-block-components-order-summary__button-text {
	font-family: var(--bh-font-body, "Manrope", "Segoe UI", sans-serif) !important;
	font-size: clamp(1.02rem, 1.05vw, 1.16rem) !important;
	font-weight: 850 !important;
	line-height: 1.18 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper {
	border-color: transparent !important;
}

body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	border: 1px solid rgba(92, 197, 255, 0.16) !important;
	background:
		linear-gradient(180deg, rgba(18, 50, 72, 0.34), rgba(8, 28, 44, 0.18)),
		rgba(7, 24, 39, 0.16) !important;
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.20),
		inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html[lang^="et"] body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	font-size: 0 !important;
	line-height: 0 !important;
}

html[lang^="et"] body.woocommerce-checkout .wc-block-components-checkout-place-order-button::after {
	content: "Vormistan Tellimuse";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--bh-text-sm);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1;
}

@media (max-width: 768px) {
	body.woocommerce-checkout #mobile-header .drawer-toggle,
	body.woocommerce-checkout #mobile-header .menu-toggle-open,
	body.woocommerce-checkout #mobile-header .menu-toggle-open:hover,
	body.woocommerce-checkout #mobile-header .menu-toggle-open:focus,
	body.woocommerce-checkout #mobile-header .menu-toggle-open svg,
	body.woocommerce-checkout #mobile-header .menu-toggle-open .kadence-svg-icon,
	body.woocommerce-checkout #mobile-header .menu-toggle-open .kadence-svg-iconset,
	body.woocommerce-checkout #mobile-header .menu-toggle-open .menu-toggle-icon {
		color: var(--bh-white) !important;
		stroke: currentColor !important;
		background: transparent !important;
	}

	body.woocommerce-checkout #mobile-header .menu-toggle-open svg [stroke]:not([stroke="none"]) {
		stroke: currentColor !important;
	}

	body.woocommerce-checkout .popup-drawer,
	body.woocommerce-checkout .popup-drawer .drawer-inner,
	body.woocommerce-checkout .mobile-drawer-content {
		color: var(--bh-text-strong) !important;
	}
}

@media (max-width: 640px) {
	body.woocommerce-checkout .wc-block-components-title,
	body.woocommerce-checkout .wc-block-components-checkout-step__title,
	body.woocommerce-checkout .wc-block-components-checkout-step__heading-content {
		font-size: clamp(1.08rem, 5vw, 1.34rem) !important;
	}
}

/* Final canvas guard for Woo system pages where decorative gradients can leave the base color transparent. */
html:has(body.woocommerce-account),
html:has(body.woocommerce-checkout),
html:has(body.woocommerce-cart),
body.woocommerce-account,
body.woocommerce-checkout,
body.woocommerce-cart {
	background-color: #071827 !important;
}

html:has(body.woocommerce-account),
body.woocommerce-account {
	background-image:
		radial-gradient(at 8% 0%, rgba(26, 160, 224, 0.09) 0%, transparent 34%),
		radial-gradient(at 88% 18%, rgba(92, 197, 255, 0.043) 0%, transparent 38%),
		linear-gradient(180deg, #071827 0%, #06131f 100%) !important;
}
