/**
 * B2BMoneyGuides — Main Stylesheet
 * Matches THE VIRAL KIT design system (b2bmg- prefix)
 *
 * @package B2BMoneyGuides
 */

/* ==========================================================================
   CSS Custom Properties (fallbacks — overridden by theme customizer inline)
   ========================================================================== */

:root {
	--b2bmg-primary: #FF5101 !important;
	--b2bmg-primary-hover: #ff5101b4 !important;
	--b2bmg-secondary: #ff5101b4;
	--b2bmg-text: #1E293B;
	--b2bmg-muted: #64748B;
	--b2bmg-bg: #FFFFFF;
	--b2bmg-bg-subtle: #F8FAFC;
	--b2bmg-bg-light: #d2e1ff !important;
	--b2bmg-card-bg: #FFFFFF;
	--b2bmg-btn-radius: 50px;
	--b2bmg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--b2bmg-white: #ffffff;
	--b2bmg-border: rgba(15, 23, 42, 0.08);
	--b2bmg-border-strong: rgba(15, 23, 42, 0.14);
	--b2bmg-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
	--b2bmg-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
	--b2bmg-shadow-lg: 0 16px 40px rgba(37, 99, 235, 0.12);
	--b2bmg-radius-sm: 10px;
	--b2bmg-radius-md: 16px;
	--b2bmg-radius-lg: 24px;
	--b2bmg-container: 1400px;
	--b2bmg-gutter: 24px;
	--b2bmg-section-y: clamp(64px, 8vw, 100px);
	--b2bmg-transition: 0.25s ease;
	--b2bmg-header-height: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--b2bmg-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--b2bmg-primary);
	text-decoration: none;
	transition: color var(--b2bmg-transition), opacity var(--b2bmg-transition);
}

a:hover {
	color: var(--b2bmg-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-weight: 700;
	line-height: 1.2;
	color: var(--b2bmg-text);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.legal-page-text ul,
.legal-page-text ol {
	list-style-type: revert;
	padding-left: 25px;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.b2bmg-skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 10000;
	padding: 12px 20px;
	background: var(--b2bmg-primary);
	color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-sm);
	font-weight: 600;
}

.b2bmg-skip-link:focus {
	top: 16px;
	outline: 2px solid var(--b2bmg-secondary);
	outline-offset: 2px;
}

.b2bmg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.b2bmg-container {
	width: 100%;
	max-width: var(--b2bmg-container);
	margin-inline: auto;
	padding-inline: var(--b2bmg-gutter);
}

.b2bmg-main {
	min-height: 50vh;
}

.b2bmg-section {
	padding-block: var(--b2bmg-section-y);
	position: relative;
}

.b2bmg-section--light {
	background-color: var(--b2bmg-bg-light);
}

.b2bmg-section-header {
	margin-bottom: 48px;
}

.b2bmg-section-header--flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.b2bmg-section-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.b2bmg-section-title--center {
	text-align: center;
}

.b2bmg-section-desc {
	font-size: 1.0625rem;
	color: var(--b2bmg-muted);
	max-width: 560px;
	margin: 0;
}

.b2bmg-section-header--flex .b2bmg-section-desc {
	max-width: 480px;
}

.b2bmg-blog__view-all {
	flex-shrink: 0;
	white-space: nowrap;
}

.b2bmg-empty {
	text-align: center;
	color: var(--b2bmg-muted);
	padding: 48px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.b2bmg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--b2bmg-btn-radius);
	transition: background-color var(--b2bmg-transition),
		color var(--b2bmg-transition),
		border-color var(--b2bmg-transition),
		transform var(--b2bmg-transition),
		box-shadow var(--b2bmg-transition);
	white-space: nowrap;
}

.b2bmg-btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.b2bmg-btn:active {
	transform: translateY(0);
}

.b2bmg-btn--primary {
	background-color: var(--b2bmg-primary);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-white);
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.b2bmg-btn--primary:hover {
	background-color: var(--b2bmg-primary-hover);
	border-color: var(--b2bmg-primary-hover);
	color: var(--b2bmg-white);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.b2bmg-btn--ghost {
	background-color: transparent;
	border-color: var(--b2bmg-border-strong);
	color: var(--b2bmg-text);
}

.b2bmg-btn--ghost:hover {
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-primary);
	background-color: rgba(37, 99, 235, 0.06);
}

.b2bmg-btn--dark {
	background-color: var(--b2bmg-primary);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-white);
}

.b2bmg-btn--dark:hover {
	background-color: #334155;
	border-color: #334155;
	color: var(--b2bmg-white);
}

.b2bmg-btn--sm {
	padding: 10px 20px;
	font-size: 0.75rem;
}

.b2bmg-btn--lg {
	padding: 18px 36px;
	font-size: 0.875rem;
}

/* ==========================================================================
   Links & Badges
   ========================================================================== */

.b2bmg-link-arrow {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--b2bmg-primary);
	transition: gap var(--b2bmg-transition), color var(--b2bmg-transition);
}

.b2bmg-badge {
	display: inline-block;
	padding: 6px 12px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--b2bmg-primary);
	background-color: rgba(37, 99, 235, 0.1);
	border-radius: var(--b2bmg-btn-radius);
	margin-bottom: 12px;
}

.b2bmg-badge--trending {
	color: #EA580C;
	background-color: rgba(234, 88, 12, 0.1);
}

.b2bmg-tag {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--b2bmg-white);
	background-color: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--b2bmg-btn-radius);
	backdrop-filter: blur(8px);
	transition: background-color var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-tag:hover {
	background-color: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.4);
	color: var(--b2bmg-white);
}

.b2bmg-logo-text {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--b2bmg-text);
	text-decoration: none;
}

.b2bmg-logo-text:hover {
	color: var(--b2bmg-primary);
}

/* ==========================================================================
   Header (Sticky)
   ========================================================================== */

.b2bmg-sticky-header .b2bmg-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--b2bmg-bg);
	overflow: hidden;
}

.b2bmg-header {
	background-color: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: background-color var(--b2bmg-transition),
		border-color var(--b2bmg-transition),
		box-shadow var(--b2bmg-transition);
}

.b2bmg-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.98);
	border-bottom-color: var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
}

.b2bmg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--b2bmg-header-height);
}

.b2bmg-header__logo {
	flex-shrink: 0;
}

.b2bmg-header__logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.b2bmg-header__logo .custom-logo {
	max-height: 55px;
	width: auto;
}

.b2bmg-header__nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.b2bmg-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.b2bmg-nav li a {
	display: block;
	padding: 8px 16px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--b2bmg-text);
	border-radius: var(--b2bmg-radius-sm);
	transition: color var(--b2bmg-transition), background-color var(--b2bmg-transition);
}

.b2bmg-nav li a:hover,
.b2bmg-nav .current-menu-item>a,
.b2bmg-nav .current_page_item>a {
	color: var(--b2bmg-primary);
	background-color: rgba(74, 78, 215, 0.06);
}

.b2bmg-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.b2bmg-header__search {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--b2bmg-text);
	border: 1px solid var(--b2bmg-text) !important;
	border-radius: 50%;
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition);
}

.b2bmg-header__search-wrap .b2bmg-header__search[aria-expanded="true"],
.b2bmg-header__search:hover {
	background-color: var(--b2bmg-bg-light);
	color: var(--b2bmg-primary);
	border: 1px solid var(--b2bmg-primary) !important;
}

.b2bmg-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
}

.b2bmg-header__toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--b2bmg-text);
	border-radius: 2px;
	transition: transform var(--b2bmg-transition), opacity var(--b2bmg-transition);
}

.b2bmg-header__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.b2bmg-header__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.b2bmg-header__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Search overlay */
.b2bmg-search-overlay {
	padding: 24px 0;
	background-color: var(--b2bmg-bg-light);
	border-bottom: 1px solid var(--b2bmg-border);
}

.b2bmg-search-overlay[hidden] {
	display: none;
}

.b2bmg-search-form {
	display: flex;
	gap: 12px;
	max-width: 640px;
	margin-inline: auto;
}

.b2bmg-search-form__input {
	flex: 1;
	padding: 14px 20px;
	font-size: 1rem;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-btn-radius);
	outline: none;
	transition: border-color var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-search-form__input:focus {
	border-color: var(--b2bmg-primary);
	box-shadow: 0 0 0 3px rgba(74, 78, 215, 0.15);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.b2bmg-hero {
	padding-block: clamp(48px, 6vw, 80px);
	overflow: hidden;
	background: linear-gradient(135deg, var(--b2bmg-bg-light) 0%, var(--b2bmg-white) 50%, rgba(74, 78, 215, 0.04) 100%);
    background: linear-gradient(135deg, var(--b2bmg-bg-light) 0%, #f3e5e5 50%, rgba(74, 78, 215, 0.04) 100%);
}

.b2bmg-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.b2bmg-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	position: relative;
	z-index: 1;
}

.b2bmg-hero__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--b2bmg-primary);
	margin-bottom: 16px;
}

.b2bmg-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin-bottom: 20px;
}

.b2bmg-hero__highlight {
	display: inline;
	background: linear-gradient(135deg, var(--b2bmg-primary), var(--b2bmg-text));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.b2bmg-hero__desc {
	font-size: 1.125rem;
	color: var(--b2bmg-muted);
	max-width: 480px;
	margin-bottom: 32px;
	line-height: 1.7;
}

.b2bmg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 40px;
}

.b2bmg-hero__stats {
	display: flex;
	gap: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--b2bmg-border);
}

.b2bmg-hero__stat strong {
	display: block;
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--b2bmg-text);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.b2bmg-hero__stat span {
	font-size: 0.875rem;
	color: var(--b2bmg-muted);
	font-weight: 500;
}

.b2bmg-hero__media {
	position: relative;
}

.b2bmg-hero__image-wrap {
	position: relative;
	border-radius: var(--b2bmg-radius-lg);
	overflow: hidden;
	box-shadow: var(--b2bmg-shadow-lg);
}

.b2bmg-hero__image-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 60%, rgba(74, 78, 215, 0.08) 100%);
	pointer-events: none;
	z-index: 1;
}

.b2bmg-hero__image {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ==========================================================================
   Featured Picks (Large + Stack Grid)
   ========================================================================== */

.b2bmg-featured__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: stretch;
}

.b2bmg-featured__col {
	display: flex;
	min-width: 0;
}

.b2bmg-featured__col--large {
	min-width: 0;
}

.b2bmg-featured__col--stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 24px;
	min-width: 0;
}

.b2bmg-featured__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-width: 0;
	background-color: var(--b2bmg-card-bg);
	border-radius: var(--b2bmg-radius-md);
	overflow: hidden;
	box-shadow: var(--b2bmg-shadow-sm);
	border: 1px solid var(--b2bmg-border);
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-featured__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
	border-color: rgba(37, 99, 235, 0.2);
}

.b2bmg-featured__card--small {
	flex-direction: row;
	align-items: stretch;
}

.b2bmg-featured__card-image {
	overflow: hidden;
	flex-shrink: 0;
	position: relative;
}

.b2bmg-featured__card--large .b2bmg-featured__card-image {
	width: 100%;
	aspect-ratio: 16 / 8;
}

.b2bmg-featured__card--small .b2bmg-featured__card-image {
	width: 42%;
	min-width: 110px;
}

.b2bmg-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.b2bmg-featured__card:hover .b2bmg-featured__img {
	transform: scale(1.04);
}

.b2bmg-featured__card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 24px;
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}

.b2bmg-featured__card--large .b2bmg-featured__card-body {
	justify-content: flex-start;
}

.b2bmg-featured__card--small .b2bmg-featured__card-body {
	padding: 20px;
}

.b2bmg-featured__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 8px;
	line-height: 1.3;
}

.b2bmg-featured__card--small .b2bmg-featured__card-title {
	font-size: 1.0625rem;
}

.b2bmg-featured__card--large .b2bmg-featured__card-title {
	font-size: 1.5rem;
}

.b2bmg-featured__card-desc {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	margin-bottom: 16px;
}

.b2bmg-featured__card--large .b2bmg-featured__card-desc {
	flex: 1;
}

.b2bmg-featured__card-body .b2bmg-btn,
.b2bmg-featured__card-body .b2bmg-link-arrow {
	margin-top: auto;
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */

.b2bmg-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.b2bmg-blog__card {
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-md);
	overflow: hidden;
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-blog__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-blog__card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.b2bmg-blog__card-link:hover {
	color: inherit;
}

.b2bmg-blog__card-image {
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background-color: var(--b2bmg-bg-light);
}

.b2bmg-blog__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.b2bmg-blog__card:hover .b2bmg-blog__img {
	transform: scale(1.05);
}

.b2bmg-blog__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--b2bmg-bg-light), rgba(74, 78, 215, 0.08));
}

.b2bmg-blog__card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.b2bmg-blog__meta {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--b2bmg-muted);
	margin-bottom: 10px;
}

.b2bmg-blog__dot {
	margin-inline: 6px;
	opacity: 0.5;
}

.b2bmg-blog__card-title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 10px;
	transition: color var(--b2bmg-transition);
}

.b2bmg-blog__card:hover .b2bmg-blog__card-title {
	color: var(--b2bmg-primary);
}

.b2bmg-blog__excerpt {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	margin-bottom: 16px;
	flex: 1;
	line-height: 1.6;
}

.b2bmg-blog__card-body .b2bmg-link-arrow {
	margin-top: auto;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.b2bmg-testimonials {
	background: linear-gradient(180deg, var(--b2bmg-bg-subtle) 0%, var(--b2bmg-bg) 100%);
}

/* ==========================================================================
   Slider / Carousel (reusable)
   ========================================================================== */

.b2bmg-slider {
	position: relative;
	margin-top: 48px;
}

.b2bmg-slider__viewport {
	overflow: hidden;
	touch-action: pan-y;
	padding-bottom: 30px;
}

.b2bmg-slider__track {
	display: flex;
	align-items: stretch;
	will-change: transform;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.b2bmg-slide {
	display: flex;
	box-sizing: border-box;
}

.b2bmg-slide>* {
	width: 100%;
}

.b2bmg-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--b2bmg-text);
	background: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border);
	border-radius: 50%;
	box-shadow: var(--b2bmg-shadow-sm);
	cursor: pointer;
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition), opacity var(--b2bmg-transition);
}

.b2bmg-slider__arrow:hover {
	background: var(--b2bmg-primary);
	color: var(--b2bmg-white);
	border-color: var(--b2bmg-primary);
}

.b2bmg-slider__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.b2bmg-slider__arrow--prev {
	left: -10px;
}

.b2bmg-slider__arrow--next {
	right: -10px;
}

.b2bmg-slider__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.b2bmg-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--b2bmg-border-strong);
	cursor: pointer;
	transition: background-color var(--b2bmg-transition), transform var(--b2bmg-transition);
}

.b2bmg-slider__dot.is-active {
	background: var(--b2bmg-primary);
	transform: scale(1.25);
}

.b2bmg-testimonial {
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
	padding: 32px 28px 28px;
	margin: 0;
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: var(--b2bmg-shadow-sm);
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-testimonial:hover {
	transform: translateY(-6px);
	box-shadow: var(--b2bmg-shadow-md);
	border-color: rgba(37, 99, 235, 0.2);
}

.b2bmg-testimonial__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	color: var(--b2bmg-primary);
	background: rgba(37, 99, 235, 0.1);
	border-radius: 12px;
}

.b2bmg-testimonial__quote {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--b2bmg-text);
	margin-bottom: 24px;
	flex: 1;
	font-style: normal;
}

.b2bmg-testimonial__quote::before {
	content: none;
}

.b2bmg-testimonial__author {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--b2bmg-primary);
}

.b2bmg-testimonial__avatar {
	display: none;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background-color: var(--b2bmg-bg-light);
	border: 2px solid var(--b2bmg-white);
	box-shadow: var(--b2bmg-shadow-sm);
}

.b2bmg-testimonial__avatar--placeholder {
	background: linear-gradient(135deg, var(--b2bmg-bg-light), rgba(37, 99, 235, 0.15));
}

.b2bmg-testimonial__img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.b2bmg-testimonial__name {
	display: block;
	font-size: 0.9375rem;
	font-weight: 700;
	font-style: normal;
	color: var(--b2bmg-text);
	line-height: 1.3;
}

.b2bmg-testimonial__position {
	display: block;
	font-size: 0.8125rem;
	color: var(--b2bmg-muted);
	margin-top: 2px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.b2bmg-cta {
	position: relative;
	padding-block: clamp(80px, 10vw, 170px);
	background: linear-gradient(135deg, var(--b2bmg-bg-subtle) 0%, rgba(37, 99, 235, 0.08) 100%);
	background-size: cover;
	background-position: center;
	text-align: center;
	color: var(--b2bmg-text);
}

.b2bmg-cta__overlay {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.4);
	pointer-events: none;
}

.b2bmg-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin-inline: auto;
}

.b2bmg-cta__title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--b2bmg-bg);
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.b2bmg-cta__desc {
	font-size: 1.125rem;
	color: var(--b2bmg-bg);
	margin-bottom: 32px;
	line-height: 1.7;
}

.b2bmg-cta__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 36px;
}

.b2bmg-cta .b2bmg-btn--primary {
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.b2bmg-faq__inner {
	max-width: 1024px;
	margin-inline: auto;
}

.b2bmg-faq__list {
	margin-top: 48px;
	border: 1px solid var(--b2bmg-border);
	border-radius: var(--b2bmg-radius-md);
	overflow: hidden;
	background-color: var(--b2bmg-white);
	box-shadow: var(--b2bmg-shadow-sm);
}

.b2bmg-faq__item {
	border-bottom: 1px solid var(--b2bmg-border);
}

.b2bmg-faq__item:last-child {
	border-bottom: none;
}

.b2bmg-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 24px;
	font-size: 1rem;
	font-weight: 600;
	text-align: left;
	color: var(--b2bmg-text);
	background-color: transparent;
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition);
}

.b2bmg-faq__question:hover {
	background-color: var(--b2bmg-bg-light);
	color: var(--b2bmg-primary);
}

.b2bmg-faq__item.is-open .b2bmg-faq__question {
	color: var(--b2bmg-primary);
	background-color: rgba(74, 78, 215, 0.04);
}

.b2bmg-faq__icon {
	flex-shrink: 0;
	color: var(--b2bmg-muted);
	transition: transform var(--b2bmg-transition), color var(--b2bmg-transition);
}

.b2bmg-faq__item.is-open .b2bmg-faq__icon {
	transform: rotate(180deg);
	color: var(--b2bmg-primary);
}

.b2bmg-faq__answer {
	padding: 15px 20px;
	overflow: hidden;
}

.b2bmg-faq__answer[hidden] {
	display: none;
}

.b2bmg-faq__answer p {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	line-height: 1.7;
	margin: 0;
}

/* ==========================================================================
   Product Showcase
   ========================================================================== */

.b2bmg-showcase__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.b2bmg-showcase__card {
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-showcase__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
	border-color: rgba(74, 78, 215, 0.2);
}

.b2bmg-showcase__link {
	display: flex;
	align-items: flex-start;
	height: 100%;
	padding: 32px 28px;
	color: inherit;
	text-decoration: none;
}

.b2bmg-showcase__link:hover {
	color: inherit;
}

.b2bmg-showcase__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 20px;
	border-radius: var(--b2bmg-radius-sm);
	background-color: var(--b2bmg-bg-light);
	overflow: hidden;
}

.b2bmg-showcase__icon-wrap img,
.b2bmg-showcase__icon-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b2bmg-showcase__card-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 8px;
	transition: color var(--b2bmg-transition);
}

.b2bmg-showcase__card:hover .b2bmg-showcase__card-title {
	color: var(--b2bmg-primary);
}

.b2bmg-showcase__card-desc {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	margin-bottom: 16px;
	flex: 1;
	line-height: 1.6;
}

.b2bmg-showcase__link .b2bmg-link-arrow {
	margin-top: auto;
}

/* Dynamic category cards (Shop by Category) */
.b2bmg-showcase__card--category {
	overflow: hidden;
}

.b2bmg-showcase__link--media {
	padding: 0;
}

.b2bmg-showcase__media {
	width: 45%;
	height: 100%;
	overflow: hidden;
	background-color: var(--b2bmg-bg-light);
}

.b2bmg-showcase__media img {
	width: 100%;
	height: 100% !important;
	object-fit: unset;
	transition: transform 0.4s ease;
}

.b2bmg-showcase__card--category:hover .b2bmg-showcase__media img {
	transform: scale(1.05);
}

.b2bmg-showcase__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--b2bmg-bg-light), rgba(37, 99, 235, 0.1));
}

.b2bmg-showcase__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	flex: 1;
	padding: 35px 17px;
	height: 100%;
}

.b2bmg-showcase__count {
	margin-bottom: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--b2bmg-primary);
}

.b2bmg-showcase__content .b2bmg-link-arrow {
	margin-top: auto;
}

/* ==========================================================================
   Flow Steps (Curation Flow)
   ========================================================================== */

.b2bmg-flow__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 48px;
	position: relative;
}

.b2bmg-flow__step {
	position: relative;
	text-align: center;
	padding: 32px 20px;
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-flow__step:hover {
	transform: translateY(-3px);
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-flow__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--b2bmg-white);
	background: linear-gradient(135deg, var(--b2bmg-primary), var(--b2bmg-text));
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(74, 78, 215, 0.3);
}

.b2bmg-flow__title {
	font-size: 1.0625rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.b2bmg-flow__desc {
	font-size: 0.875rem;
	color: var(--b2bmg-muted);
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Showdown (Comparison)
   ========================================================================== */

.b2bmg-showdown__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
	margin-top: 48px;
}

.b2bmg-showdown__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background-color: var(--b2bmg-card-bg);
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	overflow: hidden;
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-showdown__card--link:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
	border-color: rgba(37, 99, 235, 0.25);
	color: inherit;
	text-decoration: none;
}

.b2bmg-showdown__media {
	position: relative;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background-color: var(--b2bmg-bg-light);
}

.b2bmg-showdown__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.b2bmg-showdown__card--link:hover .b2bmg-showdown__img {
	transform: scale(1.05);
}

.b2bmg-showdown__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--b2bmg-bg-light), rgba(37, 99, 235, 0.1));
}

.b2bmg-showdown__category {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 12px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--b2bmg-primary);
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--b2bmg-btn-radius);
	box-shadow: var(--b2bmg-shadow-sm);
}

.b2bmg-showdown__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
	padding: 24px 24px 28px;
}

.b2bmg-showdown__btn {
	pointer-events: none;
	margin-top: auto;
}

.b2bmg-showdown__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 8px;
	line-height: 1.35;
}

.b2bmg-showdown__desc {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	margin-bottom: 20px;
	line-height: 1.6;
}

/* ==========================================================================
   Custom Cards Grid
   ========================================================================== */

.b2bmg-custom-cards__grid {
	display: grid;
	gap: 24px;
}

.b2bmg-custom-cards__grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.b2bmg-custom-cards__grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.b2bmg-custom-cards__grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.b2bmg-custom-card {
	display: flex;
	flex-direction: column;
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	overflow: hidden;
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-custom-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-custom-card__image {
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.b2bmg-custom-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.b2bmg-custom-card:hover .b2bmg-custom-card__img {
	transform: scale(1.05);
}

.b2bmg-custom-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
	flex: 1;
}

.b2bmg-custom-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.b2bmg-custom-card__desc {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	margin-bottom: 16px;
	flex: 1;
	line-height: 1.6;
}

.b2bmg-custom-card__body .b2bmg-link-arrow {
	margin-top: auto;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.b2bmg-newsletter {
	background-color: var(--b2bmg-bg-light);
}

.b2bmg-newsletter__box {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
	padding: clamp(40px, 6vw, 64px);
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-lg);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-newsletter__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}

.b2bmg-newsletter__desc {
	font-size: 1rem;
	color: var(--b2bmg-muted);
	margin-bottom: 28px;
	line-height: 1.6;
}

.b2bmg-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 480px;
	margin-inline: auto;
}

.b2bmg-newsletter__input {
	flex: 1;
	min-width: 0;
	padding: 14px 20px;
	font-size: 0.9375rem;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-bg-light);
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-btn-radius);
	outline: none;
	transition: border-color var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-newsletter__input:focus {
	border-color: var(--b2bmg-primary);
	box-shadow: 0 0 0 3px rgba(74, 78, 215, 0.12);
	background-color: var(--b2bmg-white);
}

.b2bmg-newsletter__input::placeholder {
	color: var(--b2bmg-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.b2bmg-footer {
	background-color: var(--b2bmg-bg-subtle);
	color: var(--b2bmg-text);
	padding-block: 64px 0;
	border-top: 1px solid var(--b2bmg-border);
}

.b2bmg-footer--fallback {
	margin-top: 0;
}

.b2bmg-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 48px;
}

.b2bmg-footer__brand .b2bmg-logo-text,
.b2bmg-footer__brand .custom-logo-link {
	color: var(--b2bmg-text);
	font-weight: 800;
	font-size: 1.125rem;
	text-decoration: none;
}

.b2bmg-footer__brand .custom-logo {
	max-height: 60px;
	width: auto;
}

.b2bmg-footer__about {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-top: 16px;
	max-width: 320px;
	color: var(--b2bmg-muted);
}

.b2bmg-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.b2bmg-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border);
	border-radius: 50%;
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition), transform var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-social-link:hover {
	background-color: var(--b2bmg-primary);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-white);
	transform: translateY(-2px);
}

.b2bmg-footer__heading {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--b2bmg-text);
	margin-bottom: 16px;
}

.b2bmg-footer__links li {
	margin-bottom: 10px;
}

.b2bmg-footer__links a {
	font-size: 0.9375rem;
	color: var(--b2bmg-muted);
	transition: color var(--b2bmg-transition);
}

.b2bmg-footer__links a:hover {
	color: var(--b2bmg-primary);
}

.b2bmg-footer__newsletter-desc {
	font-size: 0.875rem;
	color: var(--b2bmg-muted);
	line-height: 1.6;
	margin: 0 0 16px;
}

.b2bmg-footer__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.b2bmg-footer__newsletter-input {
	width: 100%;
	padding: 12px 16px;
	font-size: 0.875rem;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-radius-sm);
	outline: none;
	transition: border-color var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-footer__newsletter-input:focus {
	border-color: var(--b2bmg-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.b2bmg-form-msg {
	width: 100%;
	margin: 12px 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.b2bmg-form-msg.is-success {
	color: #15803d;
}

.b2bmg-form-msg.is-error {
	color: #b91c1c;
}

.b2bmg-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-block: 24px;
	border-top: 1px solid var(--b2bmg-border);
}

.b2bmg-footer__copyright {
	font-size: 0.8125rem;
	color: var(--b2bmg-muted);
	margin: 0;
}

.b2bmg-footer__legal {
	display: flex;
	gap: 20px;
}

.b2bmg-footer__legal a {
	font-size: 0.8125rem;
	color: var(--b2bmg-muted);
}

.b2bmg-footer__legal a:hover {
	color: var(--b2bmg-primary);
}

/* ==========================================================================
   Blog Page & Archive
   ========================================================================== */

.b2bmg-blog-page {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-page-header {
	margin-bottom: 48px;
	text-align: center;
}

.b2bmg-page-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.b2bmg-page-desc {
	font-size: 1.0625rem;
	color: var(--b2bmg-muted);
	max-width: 600px;
	margin-inline: auto;
}

.b2bmg-blog__grid--page {
	margin-bottom: 48px;
}

/* ==========================================================================
   Single Post
   ========================================================================== */

.b2bmg-single {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-single__inner {
	max-width: 800px;
}

.b2bmg-single__header {
	margin-bottom: 32px;
	text-align: center;
}

.b2bmg-single__meta {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--b2bmg-muted);
	margin-bottom: 12px;
}

.b2bmg-single__title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.b2bmg-single__featured {
	margin-bottom: 40px;
	border-radius: var(--b2bmg-radius-md);
	overflow: hidden;
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-single__image {
	width: 100%;
	height: auto;
}

.b2bmg-single__content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--b2bmg-text);
}

.b2bmg-single__content>*:first-child {
	margin-top: 0;
}

.b2bmg-single__content h2,
.b2bmg-single__content h3,
.b2bmg-single__content h4 {
	margin-top: 2em;
	margin-bottom: 0.75em;
}

.b2bmg-single__content p {
	margin-bottom: 1.5em;
}

.b2bmg-single__content ul,
.b2bmg-single__content ol {
	margin-bottom: 1.5em;
	padding-left: 1.5em;
	list-style: disc;
}

.b2bmg-single__content ol {
	list-style: decimal;
}

.b2bmg-single__content li {
	margin-bottom: 0.5em;
}

.b2bmg-single__content blockquote {
	margin: 2em 0;
	padding: 24px 28px;
	border-left: 4px solid var(--b2bmg-primary);
	background-color: var(--b2bmg-bg-light);
	border-radius: 0 var(--b2bmg-radius-sm) var(--b2bmg-radius-sm) 0;
	font-style: italic;
	color: var(--b2bmg-muted);
}

.b2bmg-single__content img {
	border-radius: var(--b2bmg-radius-sm);
	margin-block: 1.5em;
}

.b2bmg-single__content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.b2bmg-pagination,
.navigation.b2bmg-pagination {
	margin-top: 48px;
}

.b2bmg-pagination .nav-links,
.navigation.b2bmg-pagination .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.b2bmg-pagination .page-numbers,
.navigation.b2bmg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-radius-sm);
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition), border-color var(--b2bmg-transition);
	text-decoration: none;
}

.b2bmg-pagination .page-numbers:hover,
.navigation.b2bmg-pagination .page-numbers:hover {
	background-color: var(--b2bmg-bg-light);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-primary);
}

.b2bmg-pagination .page-numbers.current,
.navigation.b2bmg-pagination .page-numbers.current {
	background-color: var(--b2bmg-primary);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-white);
}

.b2bmg-pagination .page-numbers.dots,
.navigation.b2bmg-pagination .page-numbers.dots {
	border: none;
	background: none;
	min-width: auto;
	padding: 0 4px;
}

.b2bmg-pagination .prev.page-numbers,
.b2bmg-pagination .next.page-numbers,
.navigation.b2bmg-pagination .prev.page-numbers,
.navigation.b2bmg-pagination .next.page-numbers {
	padding-inline: 18px;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
/* 
.error404 .b2bmg-main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
}

.b2bmg-error-page,
.error404 .b2bmg-page-content {
	text-align: center;
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-error-page__code,
.error404 .b2bmg-page-title {
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--b2bmg-primary), var(--b2bmg-text));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	margin-bottom: 16px;
}

.b2bmg-error-page__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	margin-bottom: 12px;
}

.b2bmg-error-page__desc {
	font-size: 1.0625rem;
	color: var(--b2bmg-muted);
	max-width: 480px;
	margin-inline: auto;
	margin-bottom: 32px;
}

.b2bmg-error-page__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
} */

/* ==========================================================================
   Default Page Content
   ========================================================================== */

.b2bmg-page-content {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-page-body {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.b2bmg-page-body>*:first-child {
	margin-top: 0;
}

/* ==========================================================================
   WooCommerce
   ========================================================================== */

.b2bmg-shop {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-woocommerce .b2bmg-shop {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-products-grid,
.b2bmg-shop .products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.b2bmg-products-grid::before,
.b2bmg-products-grid::after,
.b2bmg-shop .products::before,
.b2bmg-shop .products::after {
	display: none;
}

.b2bmg-products-grid li.product,
.b2bmg-shop .products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	padding: 0;
	background-color: var(--b2bmg-white);
	border-radius: var(--b2bmg-radius-md);
	border: 1px solid var(--b2bmg-border);
	box-shadow: var(--b2bmg-shadow-sm);
	overflow: hidden;
	transition: transform var(--b2bmg-transition), box-shadow var(--b2bmg-transition);
}

.b2bmg-products-grid li.product:hover,
.b2bmg-shop .products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--b2bmg-shadow-md);
}

.b2bmg-products-grid li.product .woocommerce-loop-product__link,
.b2bmg-shop .products li.product .woocommerce-loop-product__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.b2bmg-products-grid li.product img,
.b2bmg-shop .products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin-bottom: 0;
	border-radius: 0;
}

.b2bmg-products-grid li.product .woocommerce-loop-product__title,
.b2bmg-shop .products li.product .woocommerce-loop-product__title {
	padding: 16px 20px 4px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--b2bmg-text);
}

.b2bmg-products-grid li.product .price,
.b2bmg-shop .products li.product .price {
	padding: 0 20px 16px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--b2bmg-primary);
}

.b2bmg-products-grid li.product .button,
.b2bmg-shop .products li.product .button,
.b2bmg-products-grid li.product .added_to_cart,
.b2bmg-shop .products li.product .added_to_cart {
	display: inline-flex;
	margin: 0 20px 20px;
}

.b2bmg-shop .woocommerce-result-count,
.b2bmg-shop .woocommerce-ordering {
	margin-bottom: 24px;
	font-size: 0.875rem;
	color: var(--b2bmg-muted);
}

.b2bmg-shop .woocommerce-ordering select {
	padding: 8px 12px;
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-radius-sm);
	background-color: var(--b2bmg-white);
	color: var(--b2bmg-text);
}

.b2bmg-shop .woocommerce-pagination {
	margin-top: 48px;
}

.b2bmg-shop .woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: none;
}

.b2bmg-shop .woocommerce-pagination ul li {
	border: none;
}

.b2bmg-shop .woocommerce-pagination ul li a,
.b2bmg-shop .woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--b2bmg-text);
	background-color: var(--b2bmg-white);
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-radius-sm);
	transition: background-color var(--b2bmg-transition), color var(--b2bmg-transition);
}

.b2bmg-shop .woocommerce-pagination ul li span.current {
	background-color: var(--b2bmg-primary);
	border-color: var(--b2bmg-primary);
	color: var(--b2bmg-white);
}

.b2bmg-shop .woocommerce-pagination ul li a:hover {
	background-color: var(--b2bmg-bg-light);
	color: var(--b2bmg-primary);
}

.b2bmg-woocommerce .woocommerce-breadcrumb {
	font-size: 0.875rem;
	color: var(--b2bmg-muted);
	margin-bottom: 24px;
}

.b2bmg-woocommerce .woocommerce-breadcrumb a {
	color: var(--b2bmg-muted);
}

.b2bmg-woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--b2bmg-primary);
}

.b2bmg-woocommerce .woocommerce-notices-wrapper {
	margin-bottom: 24px;
}

.b2bmg-woocommerce .woocommerce-message,
.b2bmg-woocommerce .woocommerce-info,
.b2bmg-woocommerce .woocommerce-error {
	padding: 16px 20px;
	margin-bottom: 16px;
	border-radius: var(--b2bmg-radius-sm);
	font-size: 0.9375rem;
	list-style: none;
}

.b2bmg-woocommerce .woocommerce-message {
	background-color: rgba(74, 78, 215, 0.08);
	border-left: 4px solid var(--b2bmg-primary);
	color: var(--b2bmg-text);
}

.b2bmg-woocommerce .woocommerce-info {
	background-color: var(--b2bmg-bg-light);
	border-left: 4px solid var(--b2bmg-secondary);
}

.b2bmg-woocommerce .woocommerce-error {
	background-color: rgba(220, 38, 38, 0.06);
	border-left: 4px solid #dc2626;
	color: #991b1b;
}

/* Single product */
.b2bmg-woocommerce.single-product .product {
	padding-block: var(--b2bmg-section-y);
}

.b2bmg-woocommerce .summary .product_title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	margin-bottom: 12px;
}

.b2bmg-woocommerce .summary .price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--b2bmg-primary);
	margin-bottom: 20px;
}

.b2bmg-woocommerce .summary .woocommerce-product-details__short-description {
	color: var(--b2bmg-muted);
	margin-bottom: 24px;
	line-height: 1.7;
}

.b2bmg-woocommerce .summary .cart .quantity input {
	padding: 10px;
	border: 1px solid var(--b2bmg-border-strong);
	border-radius: var(--b2bmg-radius-sm);
	width: 64px;
	text-align: center;
}

.b2bmg-woocommerce .summary .single_add_to_cart_button,
.b2bmg-woocommerce .summary button.button.alt {
	display: inline-flex;
	align-items: center;
	padding: 14px 28px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background-color: var(--b2bmg-primary);
	border: 2px solid var(--b2bmg-primary);
	color: var(--b2bmg-white);
	border-radius: var(--b2bmg-btn-radius);
	transition: background-color var(--b2bmg-transition), border-color var(--b2bmg-transition);
}

.b2bmg-woocommerce .summary .single_add_to_cart_button:hover,
.b2bmg-woocommerce .summary button.button.alt:hover {
	background-color: var(--b2bmg-secondary);
	border-color: var(--b2bmg-secondary);
	color: var(--b2bmg-white);
}

/* ==========================================================================
   Elementor Full Width (Front Page)
   ========================================================================== */

.b2bmg-page--front {
	overflow-x: hidden;
}

.b2bmg-page--front .elementor-section {
	width: 100%;
	max-width: none;
}

.b2bmg-page--front .elementor-section.elementor-section-boxed>.elementor-container {
	max-width: var(--b2bmg-container);
}

.b2bmg-page--front .elementor-section.elementor-section-stretched {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.b2bmg-page--front .elementor-widget-wrap {
	align-content: flex-start;
}

/* Elementor canvas template */
.b2bmg-canvas {
	margin: 0;
}

.b2bmg-canvas .b2bmg-main {
	min-height: 100vh;
}

/* ==========================================================================
   Entry Content (WordPress blocks)
   ========================================================================== */

.entry-content .alignwide {
	max-width: calc(var(--b2bmg-container) + 80px);
	margin-inline: auto;
}

.entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.entry-content .wp-block-button__link {
	border-radius: var(--b2bmg-btn-radius);
}

/* ==========================================================================
   Responsive — Tablet (1024px)
   ========================================================================== */

@media (max-width: 1024px) {
	:root {
		--b2bmg-gutter: 20px;
		--b2bmg-section-y: clamp(48px, 6vw, 80px);
	}

	.b2bmg-hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.b2bmg-hero__content {
		text-align: center;
	}

	.b2bmg-hero__desc {
		margin-inline: auto;
	}

	.b2bmg-hero__actions {
		justify-content: center;
	}

	.b2bmg-hero__stats {
		justify-content: center;
	}

	.b2bmg-hero__media {
		max-width: 560px;
		margin-inline: auto;
	}

	.b2bmg-featured__grid {
		grid-template-columns: 1fr;
	}

	.b2bmg-featured__col--stack {
		grid-template-rows: auto;
		grid-template-columns: 1fr 1fr;
	}

	.b2bmg-featured__card--small {
		flex-direction: column;
	}

	.b2bmg-featured__card--small .b2bmg-featured__card-image {
		width: 100%;
		min-width: 0;
		aspect-ratio: 16 / 8;
	}

	.b2bmg-blog__grid,
	.b2bmg-showcase__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.b2bmg-flow__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.b2bmg-showdown__grid {
		grid-template-columns: 1fr;
	}

	.b2bmg-custom-cards__grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.b2bmg-custom-cards__grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.b2bmg-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.b2bmg-footer__brand,
	.b2bmg-footer__newsletter {
		grid-column: 1 / -1;
	}

	.b2bmg-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.b2bmg-products-grid,
	.b2bmg-shop .products {
		grid-template-columns: repeat(2, 1fr);
	}

	.b2bmg-section-header--flex {
		flex-direction: column;
		align-items: flex-start;
	}

	.b2bmg-nav li a {
		padding: 8px 8px;
	}

	.b2bmg-header__search-input {
		width: 150px !important;
	}
}

/* ==========================================================================
   Responsive — Mobile (768px)
   ========================================================================== */

@media (max-width: 768px) {
	:root {
		--b2bmg-header-height: 75px;
		--b2bmg-gutter: 16px;
	}

	.b2bmg-header__toggle {
		display: flex;
		order: 1;
	}

	.b2bmg-header__nav {
		position: fixed;
		inset: var(--b2bmg-header-height) 0 0 0;
		flex-direction: column;
		justify-content: flex-start;
		padding: 24px;
		background-color: var(--b2bmg-white);
		border-top: 1px solid var(--b2bmg-border);
		transform: translateX(100%);
		opacity: 0;
		visibility: hidden;
		transition: transform var(--b2bmg-transition), opacity var(--b2bmg-transition), visibility var(--b2bmg-transition);
		overflow-y: auto;
		z-index: 999;
	}

	.b2bmg-header__nav.is-open {
		transform: translateX(0);
		opacity: 1;
		visibility: visible;
	}

	.b2bmg-nav {
		flex-direction: column;
		width: 100%;
		gap: 4px;
	}

	.b2bmg-nav li {
		width: 100%;
	}

	.b2bmg-nav li a {
		display: block;
		padding: 14px 16px;
		font-size: 1rem;
		border-radius: var(--b2bmg-radius-sm);
	}

	.b2bmg-header__actions .b2bmg-btn--sm {
		display: none;
	}

	.b2bmg-search-form {
		flex-direction: column;
	}

	.b2bmg-featured__col--stack {
		grid-template-columns: 1fr;
	}

	.b2bmg-blog__grid,
	.b2bmg-blog__grid--page,
	.b2bmg-showcase__grid,
	.b2bmg-flow__grid,
	.b2bmg-custom-cards__grid--2,
	.b2bmg-custom-cards__grid--3,
	.b2bmg-custom-cards__grid--4 {
		grid-template-columns: 1fr;
	}

	.b2bmg-slider__arrow {
		display: none;
	}

	.b2bmg-cta__tags {
		gap: 8px;
	}

	.b2bmg-tag {
		padding: 8px 16px;
		font-size: 0.75rem;
	}

	.b2bmg-newsletter__form {
		flex-direction: column;
	}

	.b2bmg-newsletter__form .b2bmg-btn {
		width: 100%;
	}

	.b2bmg-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.b2bmg-footer__copyright {
		text-align: left;
	}

	.b2bmg-products-grid,
	.b2bmg-shop .products {
		grid-template-columns: 1fr;
	}

	.b2bmg-pagination .page-numbers,
	.navigation.b2bmg-pagination .page-numbers {
		min-width: 40px;
		height: 40px;
		font-size: 0.8125rem;
	}

	.b2bmg-faq__question {
		padding: 16px 18px;
		font-size: 0.9375rem;
	}

	.b2bmg-faq__answer {
		padding: 0 18px 16px;
	}

	.b2bmg-btn {
		padding: 12px 24px;
	}

	.b2bmg-btn--lg {
		padding: 14px 28px;
	}

	.b2bmg-header__actions {
		display: none;
	}

}

/* ==========================================================================
   prefers-reduced-motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	html {
		scroll-behavior: auto;
	}

	.b2bmg-btn:hover,
	.b2bmg-featured__card:hover,
	.b2bmg-blog__card:hover,
	.b2bmg-testimonial:hover,
	.b2bmg-showcase__card:hover,
	.b2bmg-showdown__card:hover,
	.b2bmg-custom-card:hover,
	.b2bmg-products-grid li.product:hover,
	.b2bmg-shop .products li.product:hover,
	.b2bmg-flow__step:hover,
	.b2bmg-social-link:hover {
		transform: none;
	}

	.b2bmg-featured__card:hover .b2bmg-featured__img,
	.b2bmg-blog__card:hover .b2bmg-blog__img,
	.b2bmg-custom-card:hover .b2bmg-custom-card__img {
		transform: none;
	}

	.b2bmg-link-arrow:hover::after {
		transform: none;
	}

	.b2bmg-header__nav {
		transition: none;
	}
}