/*
Theme Name: BeerHabits
Theme URI: https://beerhabits.eu
Description: BeerHabits custom WooCommerce theme for a dark navy seafood snacks storefront with unified responsive layouts.
Author: s3nkzzz
Template: kadence
Version: 1.0.28
Text Domain: bh-kadence
*/

/* ============================================================
   style.css — глобальный слой темы BeerHabits.

   Назначение файла после реструктуризации:
   - базовый фон страницы и общие правила Kadence-обёрток;
   - legacy-глобальные правила, которые ещё не дошли до своих этапов;
   - временные общие Woo/Kadence правила до отдельных Woo/header/footer stages.

   Не добавлять сюда новые кнопки, панели, бейджи или карточки товара:
   их базовый владелец — assets/css/components.css.
   Новые секции должны получать стили в assets/css/sections/.
   ============================================================ */

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

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 {
	background: var(--bh-page-bg) !important;
	background-color: var(--bh-page-bg-flat) !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:not(.bh-product-card),
body .entry-content,
body .entry-content-wrap,
body .page-content,
body .content-bg:not(.bh-product-card) {
	background: transparent !important;
}

body:not(.wp-admin) .screen-reader-text:focus,
body:not(.wp-admin) pre {
	background: var(--bh-surface-panel) !important;
	color: var(--bh-text-strong, #fff) !important;
}

.bh-menu-cart {
	position: relative;
}.bh-cart {
	position: relative;
}.bh-cart__trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(8, 91, 132, 0.14);
	border-radius: var(--bh-radius-sm);
	background: rgba(255, 255, 255, 0.84);
	color: var(--bh-text-strong);
	box-shadow: 0 14px 34px rgba(15, 139, 203, 0.12);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}.bh-cart__trigger:hover,
.bh-cart__trigger:focus,
.bh-cart.is-open .bh-cart__trigger {
	transform: translateY(-2px);
	border-color: rgba(15, 139, 203, 0.2);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 38px rgba(15, 139, 203, 0.16);
}.bh-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--bh-accent-deep);
}.bh-cart__icon svg {
	display: block;
	width: 18px;
	height: 18px;
}.bh-cart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--bh-accent-strong), var(--bh-accent));
	color: var(--bh-white);
	font-size: 0.78rem;
	line-height: 1;
}.bh-homepage {
	color: var(--bh-text-soft);
}.bh-section {
	position: relative;
	width: var(--bh-container);
	margin: 0 auto;
	padding: 62px 0;
}.bh-section-title + .bh-product-grid,
.bh-section-title + .bh-pairing-grid{
	margin-top: 30px;
}/* Кнопки перенесены в assets/css/components.css */

.bh-cta {
	padding-bottom: 110px;
}body.bh-shared-hero-page .entry-hero {
	display: none;
}.woocommerce-page .content-wrap,
.single-product .content-wrap,
.post-type-archive-product .content-wrap {
	padding-top: 42px;
	padding-bottom: 64px;
}
.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 18px;
}.woocommerce ul.products li.product a img {
	margin-bottom: 18px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(130, 205, 231, 0.18), rgba(255, 255, 255, 0.26));
}.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	min-height: 48px;
	border: 1px solid rgba(23, 101, 138, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.7);
	color: var(--bh-text);
}.woocommerce table.shop_table {
	border: 1px solid rgba(23, 101, 138, 0.12);
	background: rgba(255, 255, 255, 0.7);
}
@media (max-width: 960px) {.bh-section {
		padding: 48px 0;
	}#mobile-drawer .bh-cart__trigger {
		width: 100%;
		justify-content: space-between;
	}
}
@media (max-width: 640px) {:root {
		--bh-container: min(1220px, calc(100vw - 24px));
	}.bh-section {
		padding: 36px 0;
	}.bh-cart__trigger {
		width: 100%;
		justify-content: space-between;
	}
}
.bh-cart__trigger{
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow:
		0 24px 64px rgba(11, 56, 82, 0.09),
		inset 0 1px 0 rgba(255, 255, 255, 0.42);
}/* Тени кнопок вынесены в components.css. */

/* ============================================================
   Утилиты градиентного текста. Используются как классы на элементах.
   ============================================================ */

/* Accent gradient text */


/* Warm (amber) gradient text */


/* Glass card panel */


/* Improved focus ring — accessible, on-brand */
:focus-visible {
	outline: 2px solid var(--bh-accent-strong);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Selection colour */
::selection {
	background: rgba(15, 139, 203, 0.35);
	color: #ffffff;
}

@media print {
	.bh-footer__nl,
	#masthead,
	.bh-sticky-atc {
		display: none !important;
	}

	html body:not(.wp-admin),
	html body:not(.wp-admin) .entry-content,
	html body:not(.wp-admin) .woocommerce,
	html body:not(.wp-admin) .woocommerce table.shop_table {
		background: #fff !important;
		color: #000 !important;
	}
}
