/*
Theme Name: Bieffe Computer
Theme URI: https://www.bieffecomputer.com
Author: Bieffe Computer
Description: Tema WooCommerce veloce per informatica, hardware e tecnologia. Nessun page builder.
Version: 1.2.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.2
Text Domain: bieffecomputer
*/

:root {
	--color-primary: #0e64a9;
	--color-accent: #bb494a;
	--color-bg: #f4f6f9;
	--color-card: #ffffff;
	--color-text: #0f172a;
	--bf-bg: var(--color-bg);
	--bf-ink: #0b1120;
	--bf-card: var(--color-card);
	--bf-border: #e2e8f0;
	--bf-text: var(--color-text);
	--bf-muted: #64748b;
	--bf-primary: var(--color-primary);
	--bf-blue: var(--color-primary);
	--bf-accent: var(--color-accent);
	--bf-ok: #16a34a;
	--bf-ok-bg: #dcfce7;
	--bf-soon: #c2410c;
	--bf-soon-bg: #ffedd5;
	--bf-radius: 16px;
	--bf-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	--bf-font: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
	--bf-container: 1380px;
}

body,
body.home,
body.blog,
body.archive,
body.single-product,
body.woocommerce {
	background: var(--color-bg);
	color: var(--color-text);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bf-bg);
	color: var(--bf-text);
	font-family: var(--bf-font);
	font-size: 16px;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: var(--bf-primary); text-decoration: none; }
a:hover { color: var(--bf-blue); }

button, input, select, textarea { font: inherit; color: inherit; }

.bf-skip {
	position: absolute;
	left: 12px;
	top: -40px;
	z-index: 80;
	background: var(--bf-primary);
	color: #fff;
	padding: 8px 12px;
}
.bf-skip:focus { top: 8px; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bf-svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.container,
.bf-container {
	max-width: 1380px;
	width: 96%;
	margin: 0 auto;
}

.bf-topbar,
.bf-header,
.bf-footer {
	width: 100%;
	max-width: none;
}

.bf-sticky {
	position: sticky;
	top: 0;
	z-index: 40;
}

.bf-topbar {
	background: var(--bf-ink);
	color: #cbd5e1;
	font-size: 13px;
}

.bf-topbar a { color: #fff; }

.bf-topbar-inner,
.bf-header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
}

.bf-topbar-inner { justify-content: space-between; min-height: 36px; }

.bf-topbar-notes,
.bf-topbar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}

.bf-header {
	background: #fff;
	border-bottom: 1px solid #cbd5e1;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.bf-header-inner { min-height: 84px; padding: 12px 0; }

.bf-logo img,
.bf-header .custom-logo,
.bf-footer .bf-logo img,
.bf-footer .custom-logo {
	display: block;
	max-height: 54px;
	width: auto;
	height: auto;
}

.bf-logo-lockup {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--bf-text);
	min-width: max-content;
}

.bf-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(145deg, #0a4d82, var(--color-primary));
	color: #fff;
}

.bf-word { display: flex; flex-direction: column; line-height: 1; }
.bf-word strong { font-size: 1.15rem; letter-spacing: -0.04em; }
.bf-word small { margin-top: 3px; color: var(--bf-accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; }

.bf-search {
	flex: 1;
	display: flex;
	align-items: stretch;
	min-width: 0;
	height: 52px;
	border: 1px solid #cbd5e1;
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.bf-search select {
	width: 132px;
	border: 0;
	border-right: 1px solid var(--bf-border);
	background: #f8fafc;
	padding: 0 12px;
	font-weight: 700;
	font-size: 14px;
}

.bf-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0 16px;
	outline: none;
	background: transparent;
}

.bf-search button {
	width: 56px;
	border: 0;
	background: var(--bf-accent);
	color: #fff;
	cursor: pointer;
}

.bf-search button:hover { background: #9a3338; }

.bf-header-tools { display: flex; align-items: center; gap: 6px; }

.bf-action {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 12px;
	color: var(--bf-text);
}

.bf-cart-widget { gap: 16px; }

.bf-action:hover { background: #f8fafc; color: var(--bf-text); }

.bf-action-icon {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	color: var(--bf-primary);
}

.bf-cart-widget .bf-action-icon { margin-right: 2px; }

.bf-action-copy small,
.bf-action-copy strong { display: block; line-height: 1.15; }
.bf-action-copy small { color: var(--bf-muted); font-size: 11px; }
.bf-action-copy strong { font-size: 13px; }

.bf-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--bf-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	text-align: center;
}

.bf-icon-button,
.bf-rail-open,
button.bf-rail-launch.bf-button,
.bf-rail-launch { display: none; }

.bf-storefront {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
	padding-top: 24px;
	overflow: visible;
	position: relative;
}

.bf-stage {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-height: 0;
	height: auto;
}

.bf-rail {
	position: relative;
	z-index: 9999;
	top: auto;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	height: auto;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 18px;
	box-shadow: var(--bf-shadow);
	overflow: visible;
}

.bf-rail-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 14px;
	border-radius: 17px 17px 0 0;
	background: linear-gradient(90deg, #0a4d82, var(--color-primary));
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-rail-close { display: none; }

.bf-cat-list { list-style: none; margin: 0; padding: 6px; overflow: visible; }

.bf-cat-item { position: relative; }

.bf-cat-item > a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 28px 9px 8px;
	border-radius: 10px;
	color: var(--bf-text);
	font-weight: 600;
	font-size: 14px;
	text-transform: none;
}

.bf-cat-item > a:hover,
.bf-cat-item:hover > a,
.bf-cat-item.is-open > a { background: #f8fafc; color: var(--bf-primary); }

.bf-cat-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border-radius: 9px;
	background: #eff6ff;
	color: var(--bf-primary);
}

.bf-cat-icon .bf-svg { width: 18px; height: 18px; }

.bf-cat-label { line-height: 1.25; }

.bf-fly-toggle {
	position: absolute;
	top: 10px;
	right: 4px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--bf-muted);
	cursor: pointer;
}

.bf-cat-item:hover > .bf-fly-toggle { color: var(--bf-primary); }

.bf-flyout {
	display: none;
	position: absolute;
	z-index: 10000;
	left: calc(100% + 12px);
	top: 0;
	width: min(620px, 62vw);
	padding: 18px;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 16px;
	box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.bf-cat-item:hover > .bf-flyout,
.bf-cat-item:focus-within > .bf-flyout,
.bf-cat-item.is-open > .bf-flyout { display: block; }

.bf-fly-grid { display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 18px; }

.bf-fly-title {
	margin: 0 0 8px;
	color: var(--bf-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-flyout ul { list-style: none; margin: 0; padding: 0; }
.bf-flyout li { margin: 0; }
.bf-flyout li a { display: block; padding: 6px 0; color: var(--bf-text); font-weight: 600; }
.bf-flyout li a:hover { color: var(--bf-blue); }

.bf-brand-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-brand-pills a {
	padding: 5px 8px;
	border: 1px solid var(--bf-border);
	border-radius: 999px;
	background: #f8fafc;
	font-size: 12px;
}

.bf-filter-box {
	display: grid;
	gap: 10px;
	margin: 4px 8px 12px;
	padding-top: 12px;
	border-top: 1px solid var(--bf-border);
}

.bf-price-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.bf-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.bf-check input { width: auto; }

.bf-hero {
	display: grid;
	grid-template-columns: minmax(0, 70%) minmax(180px, 30%);
	gap: 12px;
	flex: 1 1 auto;
	align-self: stretch;
	height: 100%;
	min-height: 0;
}

.bf-slider,
.bf-slides {
	position: relative;
	height: 100%;
	min-height: 100%;
}

.bf-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 32px;
	border-radius: 22px;
	overflow: hidden;
	color: #fff;
	opacity: 0;
	transform: translateX(18px);
	pointer-events: none;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.bf-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }

.bf-slide-blue { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 72%); }
.bf-slide-ink { background: linear-gradient(145deg, #0b1120 0%, var(--color-primary) 80%); }
.bf-slide-night { background: linear-gradient(160deg, #111827 10%, #0a4d82 90%); }

.bf-slide-grid,
.bf-slide-glow { position: absolute; inset: 0; pointer-events: none; }

.bf-slide-grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(90deg, transparent, #000 30%, transparent 85%);
}

.bf-slide-glow {
	background:
		radial-gradient(circle at 85% 20%, rgba(187, 73, 74, 0.5), transparent 28%),
		radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.25), transparent 32%);
}

.bf-slide-copy { position: relative; z-index: 1; max-width: 34rem; }
.bf-slide h1, .bf-slide h2 { margin: 10px 0; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.04em; }
.bf-slide p { margin: 0 0 16px; max-width: 42ch; color: #e2e8f0; }

.bf-pill {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.24);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bf-slider-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--bf-ink);
	cursor: pointer;
	transform: translateY(-50%);
}
.bf-slider-prev { left: 12px; }
.bf-slider-prev .bf-svg { transform: rotate(180deg); }
.bf-slider-next { right: 12px; }

.bf-slider-dots {
	position: absolute;
	left: 32px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	gap: 6px;
}
.bf-slider-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}
.bf-slider-dots button.is-active { width: 22px; background: #fff; }

.bf-promos {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
	height: 100%;
	min-height: 100%;
}
.bf-promo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	height: 100%;
	min-height: 0;
	padding: 20px 18px;
	border-radius: 18px;
	color: #fff;
	overflow: hidden;
}
.bf-promo strong { font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1.2; }
.bf-promo span:last-child { color: #e2e8f0; font-size: 14px; }
.bf-promo-build { background: radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.7), transparent 40%), linear-gradient(160deg, #0f172a, #1e3a8a); }
.bf-promo-b2b { background: radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.45), transparent 42%), linear-gradient(160deg, #111827, var(--color-primary)); }
.bf-promo:hover { color: #fff; transform: translateY(-1px); }

.bf-button,
.button,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 999px;
	background: var(--bf-accent);
	color: #fff;
	padding: 11px 16px;
	font-weight: 800;
	line-height: 1.1;
	cursor: pointer;
	text-decoration: none;
}
.bf-button .bf-svg, .bf-atc .bf-svg { width: 18px; height: 18px; }
.bf-button:hover, .button:hover, .woocommerce a.button:hover { background: #9a3338; color: #fff; }
.bf-button-primary { background: var(--color-primary); }
.bf-button-primary:hover { background: #0a4d82; }

.bf-trust {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 22px 0 6px;
}
.bf-trust article {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 16px;
}
.bf-trust strong, .bf-trust small { display: block; }
.bf-trust small { color: var(--bf-muted); font-size: 13px; }
.bf-trust-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 12px;
}
.bf-trust-icon.is-blue { background: #dbeafe; color: #1d4ed8; }
.bf-trust-icon.is-green { background: #dcfce7; color: #15803d; }
.bf-trust-icon.is-sky { background: #e0f2fe; color: #0369a1; }
.bf-trust-icon.is-orange { background: #ffedd5; color: #c2410c; }

.bf-section { padding: 22px 0; }
.bf-section-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 12px;
	margin-bottom: 14px;
}
.bf-section h2, .bf-shop-head h1, .bf-page-title {
	margin: 0;
	font-size: 1.55rem;
	letter-spacing: -0.03em;
}

.bf-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.bf-cat-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 92px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 16px;
	color: var(--bf-text);
	box-shadow: var(--bf-shadow);
}
.bf-cat-card:hover { border-color: #bfdbfe; color: var(--bf-primary); }
.bf-cat-card img, .bf-cat-icon-lg {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: contain;
	background: #f8fafc;
}
.bf-cat-icon-lg { display: grid; place-items: center; flex: 0 0 56px; }
.bf-cat-card-copy { display: flex; flex-direction: column; gap: 6px; }
.bf-cat-card-copy em {
	align-self: flex-start;
	padding: 2px 8px;
	border-radius: 999px;
	background: #f1f5f9;
	color: var(--bf-muted);
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
}

ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}
ul.products::before,
ul.products::after { display: none !important; content: none !important; }
ul.products li.product-category { display: none !important; }
ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.bf-shop-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bf-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 16px;
	box-shadow: var(--bf-shadow);
}
.bf-card-top { position: relative; }
.bf-card-media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}
.bf-card-media img,
.woocommerce ul.products li.product a img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	background: #fff;
	margin: 0;
}
.single-product div.product .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
	margin: 0;
}
.bf-brand-badge,
.bf-stock {
	position: absolute;
	top: 8px;
	z-index: 1;
	max-width: 46%;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.3;
}
.bf-brand-badge { left: 8px; background: var(--bf-ink); color: #fff; }
.bf-stock { right: 8px; }
.bf-stock.is-ready { background: var(--bf-ok-bg); color: var(--bf-ok); }
.bf-stock.is-soon { background: var(--bf-soon-bg); color: var(--bf-soon); }
.bf-product-title {
	margin: 10px 0 4px;
	min-height: 2.7em;
	font-size: 15px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bf-product-title a { color: var(--bf-text); }
.bf-card-sku {
	margin: 0 0 8px;
	color: var(--bf-muted);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
}
.bf-price-block { margin-top: auto; margin-bottom: 10px; }
.bf-card .price, .bf-price-block .price {
	margin: 0;
	color: var(--bf-text);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.bf-card .woocommerce-price-suffix { display: none; }
.bf-vat { display: block; color: var(--bf-muted); font-size: 12px; font-weight: 600; }
.bf-atc { width: 100%; }

.bf-shop { padding-bottom: 48px; overflow: visible; }
.bf-shop-main { position: relative; z-index: 1; overflow: visible; }
.bf-shop .bf-rail {
	position: sticky;
	top: 132px;
	z-index: 9999;
	height: auto;
	overflow: visible;
}
.bf-shop-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.woocommerce-result-count, .woocommerce-ordering { margin: 0; }

.bf-page, .bf-content { padding: 28px 0 56px; }
.bf-product > .container { max-width: 1380px; width: 96%; margin: 24px auto; }
.bf-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--bf-muted);
	font-size: 14px;
}
.bf-crumbs a { color: var(--bf-primary); font-weight: 700; }
.bf-crumbs [aria-current="page"] { color: var(--bf-text); font-weight: 700; }
.bf-crumbs-sep { color: #94a3b8; }
.bf-macro-bar { margin: 0 0 16px; }
.bf-macro-pills {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 10px;
	scrollbar-width: thin;
}
.bf-macro-pill {
	flex: 0 0 auto;
	padding: 8px 14px;
	border: 1px solid var(--bf-border);
	border-radius: 999px;
	background: #fff;
	color: var(--bf-text);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.bf-macro-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.bf-content article { padding: 16px; margin-bottom: 12px; background: #fff; border: 1px solid var(--bf-border); border-radius: 16px; }

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 16px;
	padding: 18px;
}
.woocommerce table.shop_table { border-radius: 12px; }

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 28px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--bf-border);
	border-radius: 18px;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { float: none; width: auto; }
.single-product div.product .woocommerce-product-gallery img { object-fit: contain; background: #fff; }
.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .upsells { grid-column: 1 / -1; }
.single-product .price { font-size: 1.8rem; font-weight: 800; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], textarea, select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-ordering select {
	width: 100%;
	border: 1px solid var(--bf-border);
	border-radius: 10px;
	background: #fff;
	padding: 10px 12px;
}

.bf-footer { margin-top: 28px; background: var(--bf-ink); color: #cbd5e1; }
.bf-footer a { color: #fff; }
.bf-footer .bf-word strong { color: #fff; }
.bf-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 36px 0; }
.bf-footer h2 { margin: 0 0 12px; color: #fff; font-size: 1rem; }
.bf-footer ul { margin: 0; padding: 0; list-style: none; }
.bf-footer li { margin: 7px 0; }
.bf-footer-base {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 14px 0 22px;
	font-size: 13px;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; }
.bf-filters-backdrop { display: none; }

@media (max-width: 1100px) {
	.bf-cats, ul.products, .bf-shop-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bf-header-tools .bf-action-copy { display: none; }
	.bf-action { padding: 8px; }
}

@media (max-width: 980px) {
	.bf-storefront, .bf-hero, .bf-trust, .bf-footer-grid, .single-product div.product { grid-template-columns: 1fr; }
	.bf-rail-open, button.bf-rail-launch.bf-button, .bf-rail-launch, .bf-rail-close { display: inline-flex; }
	.bf-rail {
		position: fixed;
		z-index: 9999;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(340px, 88vw);
		overflow: auto;
		border-radius: 0;
		transform: translateX(-105%);
		transition: transform 0.2s ease;
	}
	.bf-rail.is-open { transform: none; }
	.bf-rail-close { border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; padding: 6px 10px; }
	.bf-filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 42, 0.48);
		opacity: 0;
		pointer-events: none;
		z-index: 55;
	}
	.bf-filters-backdrop.is-open { opacity: 1; pointer-events: auto; }
	.bf-cat-item:hover > .bf-flyout,
	.bf-cat-item:focus-within > .bf-flyout { display: none; }
	.bf-cat-item.is-open > .bf-flyout {
		display: block;
		position: static;
		width: auto;
		margin: 0 8px 8px;
		box-shadow: none;
	}
	.bf-fly-grid { grid-template-columns: 1fr; }
	.bf-search select { display: none; }
	.bf-topbar-notes { display: none; }
	.bf-footer-base { flex-direction: column; }
}

@media (max-width: 640px) {
	.bf-header-inner { flex-wrap: wrap; }
	.bf-search { order: 4; flex-basis: 100%; }
	.bf-cats, ul.products, .bf-shop-main ul.products, .bf-trust { grid-template-columns: 1fr; }
	.home .bf-storefront { align-items: start; }
	.bf-hero, .bf-slider, .bf-slides, .bf-promos { min-height: 320px; height: auto; }
}
