/* ============================================================
   BeerHabits Shop/Woo UI
   Shared shop archive, product grid, category, cart-page, and Woo fallback styles.
   Checkout-specific styles live in checkout.css.
   Cart drawer and mini-cart base styles live in cart.css.
   Mobile overrides live in mobile.css.
   ============================================================ */

:root {
	--bh-shop-cols: 4;
	--bh-card-radius: 20px;
	--bh-shop-bg: var(--bh-page-bg);
	--bh-shop-bg-flat: var(--bh-page-bg-flat, #071827);
	--bh-shop-surface: var(--bh-panel-bg, rgba(8, 38, 58, 0.68));
	--bh-shop-surface-soft: var(--bh-surface, rgba(255, 255, 255, 0.05));
	--bh-shop-surface-strong: var(--bh-panel-bg-strong, rgba(9, 31, 48, 0.92));
	--bh-shop-border: var(--bh-line-strong, rgba(255, 255, 255, 0.15));
	--bh-shop-accent: var(--bh-accent-strong, #5cc5ff);
}
.bh-container {
	width: min(1280px, calc(100vw - 48px));
	margin-inline: auto;
}

/* ============================================================
   Shop/Woo shell: archive and category entry-hero cleanup.
   Product-page entry hero ownership lives in product.css.
   ============================================================ */

/* Hide Kadence entry hero on shop archive contexts. */

.woocommerce .entry-hero,
.post-type-archive-product .entry-hero,
.tax-product_cat .entry-hero {
	display: none;
}

/* Keep the shop shell tight under the global header. */

#bh-shop {
	padding-top: 0;
	margin-top: 0;
	background: var(--bh-shop-bg);
}
body.bh-shop-page,
body.bh-shop-page #wrapper,
body.bh-shop-page #inner-wrap {
	background: var(--bh-shop-bg);
}

/* ---- Shop header ---- */

.bh-shop-header {
	position: relative;
	z-index: 10;
	padding: clamp(42px, 4.5vw, 66px) 0 0;
}
.bh-shop-header__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.bh-shop-header__title {
	margin: 0;
	text-transform: none;
	position: relative;
	z-index: 10;
	color: var(--bh-white);
	font-size: var(--bh-type-h1);
	font-weight: var(--bh-weight-display);
	font-style: normal;
	line-height: var(--bh-leading-h1);
	letter-spacing: 0;
	text-align: center;
}
.bh-shop-header__intro {
	margin: 0 auto;
	text-align: center;
	max-width: 720px;
	color: rgba(232, 244, 250, 0.76);
	font-size: 1.02rem;
	line-height: 1.62;
}
.bh-shop-header__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: space-between;
	width: min(760px, 100%);
	margin: 4px auto 0;
	padding: 11px 14px;
	border: 1px solid var(--bh-shop-border);
	border-radius: var(--bh-radius-card);
	background:
	linear-gradient(180deg, rgba(255, 255, 255, 0.050), rgba(255, 255, 255, 0.024)),
	var(--bh-shop-surface);
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.bh-shop-toolbar__summary,
.bh-shop-toolbar__sort {
	display: flex;
	align-items: center;
}
.bh-shop-toolbar__sort {
	gap: 10px;
}
.bh-shop-toolbar__sort-label {
	font-weight: 800;
}

/* WooCommerce result count */

:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-result-count {
	margin: 0;
	font-size: 0.85rem;
}

/* WooCommerce ordering select */

:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-ordering select {
	appearance: none;
	padding: 8px 36px 8px 14px;
	border: 1.5px solid rgba(11, 56, 82, 0.14);
	border-radius: 999px;
	background: var(--bh-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234a7085' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	font-size: 0.85rem;
	cursor: pointer;
	min-width: 180px;
}

/* ---- Category pills ---- */

.bh-shop-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.post-type-archive-product.woocommerce-shop.bh-shop-page.bh-shop.woocommerce .bh-shop-cat-pill,
body.tax-product_cat.archive.bh-shop-page.bh-shop.woocommerce .bh-shop-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	border: 1.5px solid rgba(11, 56, 82, 0.14);
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
	white-space: nowrap;
}
.bh-shop-cat-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
}

/* ---- Product grid ---- */

.bh-product-grid {
	display: grid;
	grid-template-columns: repeat(var(--bh-shop-cols), 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Kadence renders the archive loop wrapper as ul.products (no .bh-product-grid
   class) — this owns its responsive column count, moved here from style.css. */

.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products {
	display: grid;
	grid-template-columns: repeat(var(--bh-shop-cols, 4), minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}
.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products::before,
.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products::after {
	display: none;
}
@media (max-width: 1200px) {
	.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 960px) {
	.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products {
		grid-template-columns: 1fr;
	}
}

/* ---- Product card ---- */

.bh-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.bh-product-card:hover {
	transform: translateY(-6px);
}
.bh-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.bh-product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.42s ease;
}
.bh-product-card:hover .bh-product-card__img {
	transform: scale(1.03);
}
.bh-product-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
}
.bh-product-card__img--placeholder svg {
	width: 60px;
	height: 60px;
}
.bh-product-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.bh-product-card__badge--sale {
	background: #e84040;
	color: var(--bh-white);
}
.bh-product-card__badge--new {
	background: var(--bh-accent, var(--bh-accent-deep));
	color: var(--bh-white);
}

.bh-product-card__badge--age {
	right: 12px;
	left: auto;
	background: rgba(240, 165, 0, 0.94);
	color: #071827;
}
.bh-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 18px 18px;
	gap: 6px;
}
.bh-product-card__cat {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bh-accent, var(--bh-accent-deep));
	opacity: 0.8;
}
.bh-product-card__title {
	font-size: var(--bh-type-card-title);
	font-weight: var(--bh-weight-display);
	line-height: var(--bh-leading-card-title);
	margin: 0;
}
.bh-product-card__title a {
	text-decoration: none;
	transition: color 0.18s;
}
.bh-product-card__desc {
	font-size: 0.82rem;
	line-height: 1.55;
	margin: 2px 0 0;
	min-height: 48px;
	/* align descriptions across cards */

	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bh-product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
}
.bh-product-card__price {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--bh-text, #0d2b3e);
}
.bh-product-card__price del {
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--bh-text-soft, #4a7085);
	margin-right: 4px;
}
.bh-product-card__price ins {
	text-decoration: none;
	color: #e84040;
}

/* Add to cart button now uses the shared .bh-button/.bh-button-primary
   contract from components.css (unified with the rest of the site's CTAs —
   was previously its own blue .bh-btn/.bh-btn--primary system). */

/* ---- WooCommerce pagination ---- */

/* .woocommerce-pagination is shared between the archive loop and
   single-product review pagination — owned by components.css. */

/* ---- Responsive ---- */

@media (max-width: 1200px) {
	
}

@media (max-width: 960px) {
	:root {
		--bh-shop-cols: 2;
	}
	
	.bh-product-grid {
		gap: 16px;
	}
}

@media (max-width: 480px) {
	:root {
		--bh-shop-cols: 2;
	}
	.bh-container {
		width: calc(100vw - 24px);
	}
	.bh-product-card__body {
		padding: 12px 14px 14px;
	}
	.bh-product-card__desc {
		display: none;
	}
}



/* Trust bar */


/* Category showcase (shop archive top) */


/* Category cards */


/* Shop header */


/* Ordering select */

:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-ordering select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-opacity='.6'/%3E%3C/svg%3E");
}
:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-ordering select option {
	background: #0a1e30;
	color: var(--bh-white);
}

/* Category pills */

.bh-shop-cat-pill:hover {
	background: rgba(26,160,224,.12);
	border-color: rgba(26,160,224,.35);
	color: var(--bh-accent-strong, var(--bh-accent-strong));
}

/* Product cards */

.bh-product-card:hover {
	box-shadow: 0 16px 48px rgba(0,0,0,.50);
}


.bh-product-card__title a:hover {
	color: var(--bh-accent-strong, var(--bh-accent-strong));
}


/* Pagination hover/dark-theme variant — also moved to components.css */

   Single product, cart drawer, sticky ATC, toast, qty wrap,
   trust bar items, cat showcase cards












.bh-shop-cat-pill__count {
	background: rgba(255,255,255,.08);
}





/* SINGLE PRODUCT PAGE                                            */



















/* STICKY ADD-TO-CART BAR                                         */



/* Notices moved to components.css (shared: Product/Cart/Checkout/Account all need them). */

/* table.shop_table dropped here — cart.css/account.css already own scoped,
   higher-specificity versions; this copy never won anywhere. */

/* form-row label moved to cart.css (the only page where it currently wins). */

/* .quantity input.qty dropped — the real wrapper is .bh-qty-wrap, this
   selector's ancestor class doesn't exist anywhere in the live DOM. */

.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products li.product h2,
.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products li.product h3 {
	color: rgba(255,255,255,.92);
}
/* .woocommerce-loop-product__title/.price/span.onsale/a.button/.added_to_cart/
   .star-rating dropped — none of these classes exist in the live card DOM,
   which uses .bh-product-card__title/__price/__badge--sale instead. */

/* .woocommerce-breadcrumb/.kadence-breadcrumbs dropped — 0 matches anywhere
   in the WC flow; the theme removes the WC breadcrumb action and renders
   its own .bh-product-breadcrumb / .bh-shop-header instead. */

/* Shop archive title block: WooCommerce default archive header. */

/* .woocommerce-products-header dropped — this theme's archive-product.php
   sets woocommerce_show_page_title to false and renders its own
   .bh-shop-header__title; the Blocks archive-title markup never renders. */



/* .woocommerce input[type="submit"] left unscoped/unverified — could not
   confirm live on Checkout/Account without a logged-in session. */


/* .woocommerce table.variations select left unverified — needs a variable
   product to test; not touched this pass. */


/* ============================================================
   Prevents white/empty cards in last row of grid
   ============================================================ */

/* Force dark background on ALL product card states */

/* Hide completely empty li elements in product grid (no children) */

.bh-product-grid li:empty,
:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) ul.products li:empty {
	display: none;
}

/* Placeholder image area on cards without thumbnail */

.bh-product-card__img--placeholder {
	background: rgba(17, 43, 62, 0.60);
}


.woocommerce-placeholder,
img.woocommerce-placeholder,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail.wp-post-image {
	background: rgba(255, 255, 255, 0.04);
	opacity: 0.55;
}

/* Media area of cards without thumbnail should not show white */

.bh-product-card .bh-product-card__media:not(:has(img)) {
	background: rgba(17, 43, 62, 0.70);
}

/* If a category dropdown panel exists, keep it below the title */

/* BH 2026 shop blocks: unified glass rhythm for catalog area */


.bh-shop-toolbar__summary,
.bh-shop-toolbar__sort {
	min-width: 0;
}
.bh-shop-toolbar__sort-label {
	color: rgba(232, 244, 250, 0.62);
	font-size: 0.78rem;
	letter-spacing: 0;
}
.bh-shop-cats {
	justify-content: var(--bh-shop-cats-align, center);
	margin: 4px auto 2px;
}
body.post-type-archive-product.woocommerce-shop.bh-shop-page.bh-shop.woocommerce .bh-shop-cat-pill,
body.tax-product_cat.archive.bh-shop-page.bh-shop.woocommerce .bh-shop-cat-pill {
	--bh-shop-chip-border: rgba(255, 255, 255, 0.12);
	--bh-shop-chip-color: rgba(255, 255, 255, 0.78);
	min-height: 40px;
	padding: 7px 14px;
	border-color: var(--bh-shop-chip-border);
	background: rgba(255, 255, 255, 0.052);
	color: var(--bh-text-strong, #fff);
}

.bh-shop-cat-pill:hover,
.bh-shop-cat-pill:focus {
	border-color: rgba(53, 202, 255, 0.36);
	background: rgba(53, 202, 255, 0.10);
	color: var(--bh-white);
}
.bh-shop-cat-pill.is-active {
	border-color: rgba(53, 202, 255, 0.42);
	background: rgba(53, 202, 255, 0.18);
	color: var(--bh-white);
	box-shadow: 0 14px 34px rgba(31, 182, 238, 0.14);
}
.bh-shop-header__meta .woocommerce-result-count,
.bh-shop-header__meta .woocommerce-ordering {
	color: rgba(255, 255, 255, 0.60);
}
.bh-shop-header__meta .woocommerce-ordering {
	float: none;
	margin: 0;
}
.bh-shop-header__meta .woocommerce-ordering select {
	min-width: 220px;
	height: 40px;
	border-color: rgba(255, 255, 255, 0.13);
	background-color: rgba(255, 255, 255, 0.055);
	color: var(--bh-white);
}
.bh-shop-body {
	padding: clamp(26px, 3vw, 40px) 0 clamp(72px, 7vw, 110px);
}
.bh-product-grid {
	gap: clamp(18px, 2vw, 28px);
}
.bh-shop .products.woo-archive-loop {
	gap: clamp(18px, 2vw, 28px);
}
.bh-shop .bh-product-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 16px;
	left: 16px;
	z-index: 3;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #1fb6ee, transparent 72%);
	box-shadow: 0 0 24px rgba(31, 182, 238, 0.22);
	pointer-events: none;
}

.bh-shop .bh-product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(53, 202, 255, 0.24);
	box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34), 0 0 32px rgba(31, 182, 238, 0.12);
}
.bh-shop .bh-product-card__media {
	margin: 12px 12px 0;
	border-radius: 6px;
}
.bh-shop .bh-product-card__body {
	padding: 17px 18px 18px;
}
.bh-shop .bh-product-card__meta-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 9px;
}
.bh-shop .bh-product-card__brand,
.bh-shop .bh-product-card__cat {
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}
.bh-shop .bh-product-card__brand {
	color: var(--bh-amber);
}
body.post-type-archive-product.woocommerce-shop.bh-shop-page.bh-shop.woocommerce .bh-product-card__title a,
body.tax-product_cat.archive.bh-shop-page.bh-shop.woocommerce .bh-product-card__title a {
	font-size: var(--bh-type-card-title);
	line-height: var(--bh-leading-card-title);
	color: var(--bh-white);
}
.bh-shop .bh-product-card__desc {
	min-height: 46px;
	color: rgba(232, 244, 250, 0.70);
	font-size: 0.93rem;
	line-height: 1.55;
}
.bh-shop .bh-product-card__price,
.bh-shop .bh-product-card__price .amount {
	color: #fff4de;
	font-size: 1.12rem;
	font-weight: 900;
}
@media (max-width: 768px) {
	.bh-shop-header__intro {
		max-width: 42ch;
		font-size: 0.96rem;
	}

	.bh-shop-toolbar__sort {
		justify-content: center;
	}


	.bh-shop-header__meta {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
	}
}

/* Shop Top 5 and premium product-card polish */


.bh-shop .bh-product-card {
	overflow: hidden;
}

.bh-shop .bh-product-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
		radial-gradient(circle at 80% 8%, rgba(247, 184, 75, 0.12), transparent 26%);
	opacity: 0;
	transition: opacity 0.24s ease;
	pointer-events: none;
}

.bh-shop .bh-product-card:hover::after,
.bh-shop .bh-product-card:focus-within::after {
	opacity: 1;
}

.bh-shop .bh-product-card__media {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background: rgba(3, 13, 22, 0.16);
	border: 1px solid rgba(126, 224, 255, 0.09);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bh-shop .bh-product-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 62%, rgba(1, 8, 14, 0.24));
	pointer-events: none;
}

.bh-shop .bh-product-card__img {
	width: 100%;
	height: 100%;
	padding: 0;
	object-fit: cover;
	border-radius: 16px;
	filter: saturate(1.08) contrast(1.04) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}

.bh-shop .bh-product-card__body,
.bh-shop .bh-product-card__footer {
	position: relative;
	z-index: 1;
}

.bh-product-card__wishlist {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(4, 16, 27, 0.68);
	color: rgba(255, 255, 255, 0.82);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bh-shop .bh-product-card__wishlist {
	width: 44px;
	height: 44px;
}

.bh-product-card__wishlist:hover,
.bh-product-card__wishlist:focus-visible {
	transform: translateY(-1px);
	border-color: rgba(247, 184, 75, 0.54);
	color: var(--bh-amber);
}

.bh-product-card__wishlist.is-active {
	border-color: rgba(247, 184, 75, 0.66);
	background: rgba(247, 184, 75, 0.18);
	color: var(--bh-amber);
}

.bh-product-card__wishlist svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}

.bh-product-card__wishlist.is-active svg {
	fill: currentColor;
}

.bh-product-card__rating {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 6px 0 8px;
	color: var(--bh-amber);
	font-size: 0.78rem;
	line-height: 1;
}

.bh-product-card__rating strong {
	color: var(--bh-white);
	font-size: 0.82rem;
	font-weight: 800;
}

.bh-product-card__rating small {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.74rem;
}

.bh-shop .bh-product-card__title {
	margin-top: 0;
}

.bh-shop .bh-product-card__desc {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}


@media (max-width: 768px) {


	.bh-shop .bh-product-card__wishlist {
		top: 18px;
		right: 18px;
		width: 44px;
		height: 44px;
	}
}


/* Shared Woo controls and loop surfaces. */
.woocommerce select,
.woocommerce .select2-container--default .select2-selection--single {
	border: 0;
	border-radius: var(--bh-radius-control);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.woocommerce:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products li.product,
.woocommerce-page:where(.post-type-archive-product, .tax-product_cat, .tax-product_tag) ul.products li.product {
	border-radius: var(--bh-radius-card);
}

.bh-shop ul.products li.product.bh-product-card {
	padding: 0;
}

/* table.shop_table generations dropped here too — see note above; this was
   actually the higher-specificity, later-order winner before removal, so
   its values (not the earlier deleted copy's) are what moved to
   components.css for .woocommerce-message/.info/.error. */

.bh-shop .bh-product-card__cat {
	color: var(--bh-accent-strong);
}

@media (max-width: 640px) {
	.bh-shop .bh-container {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	.bh-shop .bh-shop-header__inner {
		padding-inline: var(--bh-mobile-gutter);
	}

	.bh-shop .bh-shop-cats {
		--bh-shop-cats-align: flex-start;
		flex-wrap: nowrap;
		width: 100%;
		padding-bottom: 5px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.bh-shop .bh-shop-cats::-webkit-scrollbar {
		display: none;
	}

	

	.bh-shop .bh-shop-toolbar__summary,
	.bh-shop .bh-shop-toolbar__sort {
		justify-content: space-between;
		width: 100%;
	}

	.bh-shop .bh-shop-header__meta .woocommerce-ordering {
		flex: 1;
	}

	.bh-shop .bh-shop-header__meta .woocommerce-ordering select {
		width: 100%;
		min-width: 0;
	}

	.bh-shop .products.woo-archive-loop,
	.bh-shop .bh-product-grid.products {
		box-sizing: border-box;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
		width: calc(100% - (2 * var(--bh-mobile-gutter)));
		max-width: calc(100% - (2 * var(--bh-mobile-gutter)));
		margin-left: auto;
		margin-right: auto;
		padding: 2px 0 14px;
	}

	.bh-shop .products.woo-archive-loop::before,
	.bh-shop .products.woo-archive-loop::after,
	.bh-shop .bh-product-grid.products::before,
	.bh-shop .bh-product-grid.products::after {
		display: none;
		content: none;
	}

	.bh-shop .products.woo-archive-loop > .product,
	.bh-shop .bh-product-grid.products > .product {
		grid-column: auto;
		width: 100%;
		min-width: 0;
		max-width: 100%;
	}

	.bh-shop .products.woo-archive-loop > .product:last-child:nth-child(odd),
	.bh-shop .bh-product-grid.products > .product:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - 14px) / 2);
	}

	.bh-shop .bh-product-card__media {
		margin: 8px 8px 0;
	}

	.bh-shop .bh-product-card__wishlist {
		top: 14px;
		right: 14px;
	}

	.bh-shop .bh-product-card__body {
		gap: 5px;
		padding: 11px 10px 12px;
	}

	.bh-shop .bh-product-card__meta-line {
		gap: 3px 5px;
	}

	.bh-shop .bh-product-card__brand,
	.bh-shop .bh-product-card__cat {
		font-size: 0.62rem;
		line-height: 1.25;
	}

	.bh-shop .bh-product-card__rating {
		margin: 3px 0 5px;
		font-size: 0.68rem;
	}

	.bh-shop .bh-product-card__title {
		display: -webkit-box;
		min-height: 2.36em;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	

	.bh-shop .bh-product-card__footer {
		align-items: center;
		justify-content: space-between;
		flex-direction: row;
		gap: 8px;
		padding-top: 7px;
	}

	.bh-shop .bh-product-card__price,
	.bh-shop .bh-product-card__price .amount {
		font-size: 1rem;
	}

	

}

:where(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag) .woocommerce-ordering select,
.bh-shop-cat-pill,
.bh-qty-wrap {
	border-color: var(--bh-surface-border);
	background-color: var(--bh-surface-control);
	color: var(--bh-text-strong, #fff);
}

@media (min-width: 769px) {
	.bh-shop .bh-product-card--shop {
		min-height: 510px;
	}
}
