/**
 * Estilos Oficiales del Product Archive - Bersoft Catálogo de Productos
 * Sur América Importaciones E.I.R.L.
 * Versión 1.3.7
 * 
 * Aislamiento total: Todos los selectores están encapsulados bajo .bersoft-catalogo-productos
 */

/* ==========================================================================
   0. VARIABLES Y CONTENEDOR RAÍZ
   ========================================================================== */

.bersoft-catalogo-productos {
	--bcp-primary: var(--bs-color-primary, LinkText);
	--bcp-primary-hover: var(--bs-color-primary-dark, var(--bcp-primary));
	--bcp-accent: var(--bs-color-accent, var(--bcp-primary));
	--bcp-heading: var(--bs-color-heading, CanvasText);
	--bcp-text: var(--bs-color-text, CanvasText);
	--bcp-muted: var(--bs-color-text-secondary, var(--bcp-text));
	--bcp-background: var(--bs-color-background, Canvas);
	--bcp-surface: var(--bs-color-surface, Canvas);
	--bcp-border: var(--bs-color-border, GrayText);
	--bcp-tint: color-mix(in srgb, var(--bcp-primary) 7%, var(--bcp-surface));
	--bcp-dark: color-mix(in srgb, var(--bcp-primary-hover) 72%, black);
	--bcp-on-dark: var(--bcp-surface);
	--bcp-radius-md: var(--bs-radius-md, 8px);
	--bcp-radius-lg: var(--bs-radius-lg, 12px);
	--bcp-radius-full: var(--bs-radius-pill, 9999px);
	--bcp-btn-radius: var(--bs-btn-radius, var(--bcp-radius-md));

	width: 100%;
	max-width: none;
	min-width: 0;
	
	background-color: var(--bcp-background);
	color: var(--bcp-text);
	font-family: var(--bs-font-body, inherit);
	font-size: var(--bs-body-size, 1rem);
	font-weight: var(--bs-body-font-weight, 400);
	line-height: var(--bs-body-line-height, 1.5);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
	padding: 0 0 4rem;
}

.bersoft-catalogo-productos *,
.bersoft-catalogo-productos *::before,
.bersoft-catalogo-productos *::after {
	box-sizing: inherit;
}

.bersoft-catalogo-productos :is(button, input, select, textarea) {
	font-family: var(--bs-font-body, inherit);
}

.bersoft-catalogo-productos .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.bersoft-catalogo-productos .bcp-main-container {
	width: 100%;
	max-width: min(var(--bs-container-max, 1320px), var(--bcp-container-max-width, 1320px));
	min-width: 0;
	margin-left: auto;
	margin-right: auto;
	padding-inline: var(--bs-container-padding, clamp(16px, 3vw, 32px));
	box-sizing: border-box;
}

/* ==========================================================================
   1. HERO A TODO EL ANCHO
   ========================================================================== */

.bersoft-catalogo-productos .bcp-hero-fullwidth {
	width: 100%;
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: center;
	background-color: var(--bcp-dark);
	border-image: linear-gradient(var(--bcp-dark), var(--bcp-dark)) fill 0 / 0 / 0 100vw;
	margin: 0 0 clamp(12px, 1.5vw, 22px);
	padding-block: clamp(24px, 4.8vw, 72px);
	min-height: clamp(365px, 34vw, 530px);
	color: var(--bcp-on-dark);
}

/* Degradado oscuro para legibilidad del texto en el lado izquierdo */
.bersoft-catalogo-productos .bcp-hero-fullwidth::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--bcp-dark) 28%, color-mix(in srgb, var(--bcp-dark) 72%, transparent) 43%, transparent 63%);
	z-index: 1;
	pointer-events: none;
}

.bersoft-catalogo-productos .bcp-hero-inner {
	width: 100%;
	max-width: min(var(--bs-container-max, 1320px), var(--bcp-container-max-width, 1320px));
	margin-left: auto;
	margin-right: auto;
	padding-inline: var(--bs-container-padding, clamp(16px, 3vw, 32px));
	position: relative;
	z-index: 2;
}

.bersoft-catalogo-productos .bcp-hero__content {
	width: 45%;
	max-width: 560px;
	overflow-wrap: anywhere;
}

/* Breadcrumb */
.bersoft-catalogo-productos .bcp-breadcrumb {
	margin-bottom: 0.9rem;
}

.bersoft-catalogo-productos .bcp-breadcrumb__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--bs-small-size, 0.875rem);
	color: var(--bcp-muted);
	gap: 0.5rem;
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos .bcp-breadcrumb__link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;

	color: var(--bcp-on-dark);
	text-decoration: none;
	transition: color 150ms ease;
}

.bersoft-catalogo-productos .bcp-breadcrumb__link:hover {
	color: var(--bcp-accent);
}

.bersoft-catalogo-productos .bcp-breadcrumb__separator {
	color: color-mix(in srgb, var(--bcp-on-dark) 48%, transparent);
}

.bersoft-catalogo-productos .bcp-breadcrumb__item--active {
	color: var(--bcp-on-dark);
	font-weight: 500;
}

/* Etiqueta de Marca / Empresa */
.bersoft-catalogo-productos .bcp-hero__brand-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.9rem;
}

.bersoft-catalogo-productos .bcp-hero__stripes {
	display: inline-flex;
	gap: 3px;
	height: 14px;
	transform: skewX(-20deg);
}

.bersoft-catalogo-productos .bcp-hero__stripes span {
	width: 3.5px;
	height: 100%;
	background-color: var(--bcp-accent);
}

.bersoft-catalogo-productos .bcp-hero__company {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: color-mix(in srgb, var(--bcp-accent) 44%, var(--bcp-on-dark));
	text-transform: uppercase;
}

.bersoft-catalogo-productos .bcp-hero__title {
	font-family: var(--bs-font-heading, var(--bs-font-body, inherit));
	font-size: var(--bs-h1-size, 2rem);
	font-weight: var(--bs-h1-font-weight, 700);
	line-height: var(--bs-h1-line-height, 1.15);
	margin: 0 0 0.75rem;

	color: var(--bcp-on-dark);
	letter-spacing: -0.02em;
}

.bersoft-catalogo-productos .bcp-hero__intro {
	font-size: var(--bs-body-size, 1rem);
	line-height: var(--bs-body-line-height, 1.5);

	color: var(--bcp-on-dark);
	margin: 0;
	font-weight: var(--bs-body-font-weight, 400);
}

/* ==========================================================================
   2. SEIS CATEGORÍAS VISUALES CON FONDO COVER
   ========================================================================== */

.bersoft-catalogo-productos .bcp-categories-section {
	margin-bottom: clamp(12px, 1.5vw, 22px);
}

.bersoft-catalogo-productos .bcp-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(8px, 1.2vw, 16px);
}

/* 2 Grandes en Fila 1 */
.bersoft-catalogo-productos .bcp-cat-card--large {
	grid-column: span 2;
	aspect-ratio: 1.76;
	min-height: 155px;
	align-items: start;
}

/* 4 Compactas en Fila 2 */
.bersoft-catalogo-productos .bcp-cat-card--small {
	aspect-ratio: 1.3;
	min-height: 124px;
}

.bersoft-catalogo-productos .bcp-cat-card {
	position: relative;
	isolation: isolate;
	background-color: color-mix(in srgb, var(--bcp-primary) 11%, var(--bcp-surface));
	border-radius: var(--bcp-radius-lg);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--bcp-heading);
	transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.25s ease;
	cursor: pointer;
}

.bersoft-catalogo-productos .bcp-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--bcp-dark) 40%, transparent), 0 12px 24px -6px color-mix(in srgb, var(--bcp-dark) 8%, transparent);
	border-color: var(--bcp-accent);
}

.bersoft-catalogo-productos .bcp-cat-card__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.bersoft-catalogo-productos .bcp-cat-card--large .bcp-cat-card__img {
	object-fit: cover;
	object-position: right center;
}

.bersoft-catalogo-productos .bcp-cat-card__header {
	position: relative;
	z-index: 1;
	padding: clamp(10px, 2vw, 28px);
	pointer-events: none;
	overflow-wrap: anywhere;
}

.bersoft-catalogo-productos .bcp-cat-card--large .bcp-cat-card__header {
	width: 47%;
	background: linear-gradient(to right, var(--bcp-tint), transparent);
	padding-block-start: clamp(16px, 5vw, 68px);
}

.bersoft-catalogo-productos .bcp-cat-card--small .bcp-cat-card__header {
	background: linear-gradient(to bottom, var(--bcp-tint), transparent);
	padding-block-end: 1rem;
}

.bersoft-catalogo-productos .bcp-cat-card__title {
	font-family: var(--bs-font-heading, var(--bs-font-body, inherit));
	font-size: var(--bs-h3-size, 1.1rem);
	font-weight: var(--bs-h3-font-weight, 700);
	margin: 0;
	color: var(--bcp-heading);
	line-height: var(--bs-h3-line-height, 1.25);
}

.bersoft-catalogo-productos .bcp-cat-card--small .bcp-cat-card__title {
	font-size: var(--bs-h4-size, 1rem);
	font-weight: var(--bs-h4-font-weight, 700);
	line-height: var(--bs-h4-line-height, 1.25);
}

.bersoft-catalogo-productos .bcp-cat-card__accent {
	display: block;
	width: clamp(22px, 4vw, 52px);
	height: 4px;
	background-color: var(--bcp-accent);
	margin-top: 0.5rem;
	border-radius: 2px;
	transition: width 0.25s ease;
}

.bersoft-catalogo-productos .bcp-cat-card:hover .bcp-cat-card__accent {
	width: clamp(29px, 5vw, 62px);
}

/* ==========================================================================
   3. FRANJA DE BENEFICIOS
   ========================================================================== */

.bersoft-catalogo-productos .bcp-features-strip {
	background-color: var(--bcp-tint);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	border-radius: var(--bcp-radius-lg);
	padding: clamp(8px, 1.3vw, 16px);
	margin-bottom: clamp(14px, 1.8vw, 24px);
}

.bersoft-catalogo-productos .bcp-features-strip__inner {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.bersoft-catalogo-productos .bcp-feature-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(5px, 1vw, 14px);
}

.bersoft-catalogo-productos .bcp-feature-item__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bcp-primary);
}

.bersoft-catalogo-productos .bcp-feature-item__text {
	font-size: var(--bs-small-size, 0.875rem);
	font-weight: 600;
	color: var(--bcp-heading);
	line-height: var(--bs-small-line-height, 1.4);
}

/* ==========================================================================
   4. DISTRIBUCIÓN DEL CATÁLOGO (SIDEBAR IZQUIERDO Y PRODUCTOS DERECHA)
   ========================================================================== */

.bersoft-catalogo-productos .bcp-catalog-layout {
	width: 100% !important;
	min-width: 0 !important;
	display: grid !important;
	grid-template-columns: minmax(220px, 22%) minmax(0, 1fr) !important;
	grid-template-areas: "filters products" !important;
	gap: clamp(14px, 1.8vw, 24px) !important;
	align-items: start !important;
	margin-bottom: 3.5rem !important;
}

.bersoft-catalogo-productos .bcp-filter-sidebar {
	grid-area: filters !important;
	width: 100% !important;
	align-self: start !important;
	background-color: var(--bcp-surface);
	border-radius: var(--bcp-radius-lg);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	padding: 1.5rem;
	box-sizing: border-box;
}

.bersoft-catalogo-productos .bcp-products-area {
	grid-area: products !important;
	width: 100% !important;
	min-width: 0 !important;
}

/* Fuera del flujo en escritorio: evita que el backdrop desplace la cuadrícula. */
.bersoft-catalogo-productos .bcp-filter-backdrop {
	display: none;
	position: fixed;
}

/* Barra de control para móviles/tablets y filtros activos */
.bersoft-catalogo-productos .bcp-mobile-filter-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.bersoft-catalogo-productos .bcp-mobile-filter-bar:empty {
	display: none;
	margin-bottom: 0;
}

.bersoft-catalogo-productos .bcp-filter-trigger {
	display: none !important; /* Oculto en escritorio */
	align-items: center;
	gap: 0.5rem;
	background-color: var(--bcp-surface);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	border-radius: var(--bs-form-radius, var(--bcp-radius-md));
	min-height: var(--bs-form-height, 38px);
	padding-block: var(--bs-btn-padding-y, 8px);
	padding-inline: var(--bs-form-padding-x, 14px);
	font-family: var(--bs-font-body, inherit);
	font-size: var(--bs-form-font-size, 0.875rem);
	font-weight: 600;
	color: var(--bcp-heading);
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease;
}

.bersoft-catalogo-productos .bcp-filter-trigger:hover {
	background-color: var(--bcp-tint);
	border-color: var(--bcp-primary);
}

.bersoft-catalogo-productos .bcp-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.bersoft-catalogo-productos .bcp-active-filters:empty {
	display: none;
}

.bersoft-catalogo-productos .bcp-filter-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	background-color: var(--bcp-tint);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	border-radius: var(--bcp-radius-full);
	padding: 3px 10px 3px 12px;
	font-size: 0.8125rem;
	color: var(--bcp-text);
}

.bersoft-catalogo-productos .bcp-filter-badge strong {
	color: var(--bcp-heading);
	font-weight: 600;
}

.bersoft-catalogo-productos .bcp-filter-badge__remove {
	background: none;
	border: none;
	padding: 0 2px;
	font-size: 1.1rem;
	line-height: 1;
	color: var(--bcp-muted);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bersoft-catalogo-productos .bcp-filter-badge__remove:hover {
	color: var(--bs-color-error, var(--bcp-primary));
}

.bersoft-catalogo-productos .bcp-clear-filters-link {
	background: none;
	border: none;
	color: var(--bcp-primary);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	padding: 2px 6px;
	text-decoration: underline;
}

/* Sidebar internals */
.bersoft-catalogo-productos .bcp-filter-sidebar__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: var(--bs-border-width, 1px) solid var(--bcp-border);
}

.bersoft-catalogo-productos .bcp-filter-sidebar__title {
	font-family: var(--bs-font-heading, var(--bs-font-body, inherit));
	font-size: var(--bs-h4-size, 1rem);
	font-weight: var(--bs-h4-font-weight, 700);
	color: var(--bcp-heading);
	margin: 0;
	line-height: var(--bs-h4-line-height, 1.25);
}

.bersoft-catalogo-productos .bcp-filter-sidebar__close {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--bcp-muted);
	cursor: pointer;
	padding: 4px;
}

.bersoft-catalogo-productos .bcp-filter-group {
	margin-bottom: 0.75rem;
	border-bottom: var(--bs-border-width, 1px) solid var(--bcp-tint);
	padding-bottom: 0.75rem;
}

.bersoft-catalogo-productos .bcp-filter-group:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.bersoft-catalogo-productos .bcp-filter-group__summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--bcp-heading);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.bersoft-catalogo-productos .bcp-filter-group__summary::-webkit-details-marker {
	display: none;
}

.bersoft-catalogo-productos .bcp-filter-group__arrow {
	color: var(--bcp-muted);
	transition: transform 0.2s ease;
}

.bersoft-catalogo-productos .bcp-filter-group[open] .bcp-filter-group__arrow {
	transform: rotate(180deg);
}

.bersoft-catalogo-productos .bcp-filter-empty {
	margin: 0;
	font-size: var(--bs-small-size, 0.8125rem);
	color: var(--bcp-muted);
}

.bersoft-catalogo-productos .bcp-filter-group__content {
	margin-top: 0.75rem;
}

.bersoft-catalogo-productos .bcp-filter-group__content {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.bersoft-catalogo-productos .bcp-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: var(--bs-small-size, 0.875rem);
	color: var(--bcp-muted);
	cursor: pointer;
	transition: color 150ms ease;
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos .bcp-checkbox:hover {
	color: var(--bcp-heading);
}

.bersoft-catalogo-productos .bcp-filter-input {
	accent-color: var(--bcp-primary);
	width: 16px;
	height: 16px;
	cursor: pointer;
	margin: 0;
}

.bersoft-catalogo-productos .bcp-checkbox__label {
	flex-grow: 1;
}

.bersoft-catalogo-productos .bcp-filter-form__actions {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: var(--bs-border-width, 1px) solid var(--bcp-border);
}

/* ==========================================================================
   5. CUADRÍCULA DE PRODUCTOS (3 COLUMNAS EN ESCRITORIO)
   ========================================================================== */

.bersoft-catalogo-productos .bcp-products-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(10px, 1.25vw, 18px) !important;
	width: 100% !important;
	min-width: 0 !important;
	transition: opacity 0.2s ease;
}

.bersoft-catalogo-productos .bcp-product-card {
	min-width: 0;
	background-color: var(--bcp-surface);
	border-radius: var(--bcp-radius-lg);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bersoft-catalogo-productos .bcp-product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px -4px color-mix(in srgb, var(--bcp-dark) 8%, transparent);
	border-color: var(--bcp-border);
}

.bersoft-catalogo-productos .bcp-product-card__thumb-link {
	display: flex;
	position: relative;
	flex: 0 0 auto;
	inline-size: 100%;
	aspect-ratio: 1.16;
	min-block-size: 0;
	overflow: hidden;
	text-decoration: none;
}

.bersoft-catalogo-productos .bcp-product-card__img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.25s ease;
}

.bersoft-catalogo-productos .bcp-product-card__body {
	padding: 0.35rem clamp(10px, 1.1vw, 16px) clamp(10px, 1.1vw, 16px);
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.bersoft-catalogo-productos .bcp-product-card__brand {
	font-size: var(--bs-caption-size, 0.75rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bcp-primary);
	margin-bottom: 0.25rem;
	line-height: var(--bs-caption-line-height, 1.3);
}

.bersoft-catalogo-productos .bcp-product-card__title {
	font-family: var(--bs-font-heading, var(--bs-font-body, inherit));
	font-size: max(0.75rem, calc(var(--bs-h4-size, 1rem) - 2pt));
	font-weight: min(900, calc(var(--bs-h4-font-weight, 700) + 100));
	line-height: var(--bs-h4-line-height, 1.3);
	color: var(--bcp-heading);
	margin: 0 0 0.375rem;
}

.bersoft-catalogo-productos .bcp-product-card__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 150ms ease;
}

.bersoft-catalogo-productos .bcp-product-card__title-link:hover {
	color: var(--bcp-primary);
}

.bersoft-catalogo-productos .bcp-product-card__model {
	font-size: var(--bs-small-size, 0.875rem);
	color: var(--bcp-muted);
	margin-bottom: 0.5rem;
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos .bcp-product-card__app {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: var(--bs-small-size, 0.875rem);
	color: var(--bcp-muted);
	line-height: var(--bs-small-line-height, 1.4);
	margin-bottom: 0.75rem;
	flex-grow: 1;
}

.bersoft-catalogo-productos .bcp-product-card__app-icon {
	flex-shrink: 0;
	color: var(--bcp-muted);
	margin-top: 2px;
}

.bersoft-catalogo-productos .bcp-product-card__pdf-link {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: var(--bs-small-size, 0.875rem);
	font-weight: 600;
	color: var(--bcp-primary);
	text-decoration: none;
	margin-bottom: 1rem;
	transition: color 150ms ease;
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos .bcp-product-card__pdf-link:hover {
	color: var(--bcp-accent);
	text-decoration: underline;
}

.bersoft-catalogo-productos .bcp-product-card__actions {
	padding-top: 0.65rem;
	display: grid;
	grid-template-columns: minmax(max-content, 0.9fr) minmax(max-content, 1.1fr);
	gap: 0.375rem;
	margin-top: auto;
}

.bersoft-catalogo-productos .bcp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: var(--bs-btn-padding-y, 8px) var(--bs-btn-padding-x, 12px);
	border-radius: var(--bcp-btn-radius);
	font-family: var(--bs-font-body, inherit);
	font-size: var(--bs-btn-font-size, 0.875rem);
	font-weight: var(--bs-btn-font-weight, 600);
	text-transform: var(--bs-btn-transform, none);
	text-decoration: none;
	border: var(--bs-border-width, 1px) solid transparent;
	cursor: pointer;
	transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
	white-space: normal;
	overflow-wrap: anywhere;
}

.bersoft-catalogo-productos :is(.bcp-btn--card-secondary, .bcp-btn--ghost) {
	background-color: var(--bcp-surface);
	border-color: var(--bcp-border);
	color: var(--bcp-text);
}

.bersoft-catalogo-productos :is(.bcp-btn--card-secondary, .bcp-btn--ghost):hover {
	background-color: var(--bcp-tint);
	color: var(--bcp-heading);
	border-color: var(--bcp-muted);
}

.bersoft-catalogo-productos :is(.bcp-btn--card-primary, .bcp-btn--secondary) {
	background-color: var(--bcp-primary);
	color: var(--bcp-surface);
}

.bersoft-catalogo-productos :is(.bcp-btn--card-primary, .bcp-btn--secondary):hover {
	background-color: var(--bcp-primary-hover);
	color: var(--bcp-surface);
}

.bersoft-catalogo-productos .bcp-no-products {
	grid-column: 1 / -1;
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1.5rem;
	background-color: var(--bcp-surface);
	border-radius: var(--bcp-radius-lg);
	border: var(--bs-border-width, 1px) solid var(--bcp-border);
}

/* ========================================================================== 
   6. CARGA PROGRESIVA
   ========================================================================== */

.bersoft-catalogo-productos .bcp-load-more-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.bersoft-catalogo-productos .bcp-load-more-wrap[hidden] {
	display: none !important;
}

.bersoft-catalogo-productos .bcp-load-more-link {
	display: inline-flex;
	align-items: center;
	min-block-size: 24px;
	color: var(--bcp-primary);
	font-size: var(--bs-small-size, 0.875rem);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bersoft-catalogo-productos .bcp-load-more-link:hover {
	color: var(--bcp-primary-hover);
}

.bersoft-catalogo-productos .bcp-load-more-link[aria-disabled="true"] {
	color: var(--bcp-muted);
	cursor: wait;
}

/* ==========================================================================
   7. CTA BANNER FINAL
   ========================================================================== */

.bersoft-catalogo-productos .bcp-cta-banner {
	position: relative;
	background: linear-gradient(135deg, var(--bcp-dark) 0%, var(--bcp-primary-hover) 100%);
	border-radius: var(--bcp-radius-lg);
	padding: 2.5rem 3rem;

	color: var(--bcp-on-dark);
	overflow: hidden;
	box-shadow: 0 10px 25px -5px color-mix(in srgb, var(--bcp-dark) 20%, transparent);
}

.bersoft-catalogo-productos .bcp-cta-banner__bg {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center right;
	opacity: 0.72;
	mask-image: linear-gradient(to right, transparent, black 30%);
	pointer-events: none;
}

.bersoft-catalogo-productos .bcp-cta-banner__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.bersoft-catalogo-productos .bcp-cta-banner__text {
	flex: 1 1 360px;
	min-width: 0;
	max-width: 680px;
}

.bersoft-catalogo-productos .bcp-cta-banner__title {
	font-family: var(--bs-font-heading, var(--bs-font-body, inherit));
	font-size: var(--bs-h2-size, 1.5rem);
	font-weight: var(--bs-h2-font-weight, 700);

	color: var(--bcp-on-dark);
	margin: 0 0 0.5rem;
	line-height: var(--bs-h2-line-height, 1.25);
}

.bersoft-catalogo-productos .bcp-cta-banner__title::after {
	content: "";
	display: block;
	width: 3rem;
	height: 4px;
	margin-block: 0.65rem;
	background: var(--bcp-accent);
}

.bersoft-catalogo-productos .bcp-cta-banner__desc {
	font-size: var(--bs-body-size, 1rem);

	color: var(--bcp-on-dark);
	margin: 0;
	line-height: var(--bs-body-line-height, 1.5);
	font-weight: var(--bs-body-font-weight, 400);
}

.bersoft-catalogo-productos .bcp-cta-banner__action {
	flex-shrink: 0;
}

.bersoft-catalogo-productos .bcp-btn--accent {
	gap: 0.5rem;
	background-color: var(--bcp-primary);
	color: var(--bcp-on-dark);
	border-radius: var(--bcp-btn-radius);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--bcp-dark) 35%, transparent);
}

.bersoft-catalogo-productos .bcp-btn--accent:hover {
	background-color: var(--bcp-primary-hover);
	color: var(--bcp-on-dark);
}

/* ==========================================================================
   8. RESPONSIVE OBLIGATORIO:
      - TABLET (768px - 1024px): EXACTAMENTE 3 COLUMNAS
      - MÓVIL (< 768px): EXACTAMENTE 2 COLUMNAS
   ========================================================================== */

/* TABLET (1024px y menor) */
@media screen and (max-width: 1024px) {
	.bersoft-catalogo-productos .bcp-catalog-layout {
		grid-template-columns: 1fr !important;
		grid-template-areas: "products" !important;
	}

	.bersoft-catalogo-productos .bcp-products-area {
		grid-area: products !important;
	}

	.bersoft-catalogo-productos .bcp-filter-trigger {
		display: inline-flex !important;
	}

	.bersoft-catalogo-productos .bcp-filter-sidebar {
		grid-area: auto !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 320px !important;
		max-width: 85vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		visibility: hidden;
		overscroll-behavior: contain;
		z-index: 999999 !important;
		overflow-y: auto !important;
		border-radius: 0 !important;
		transform: translateX(-100%) !important;
		transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1) !important;
		box-shadow: 5px 0 25px color-mix(in srgb, var(--bcp-dark) 25%, transparent) !important;
	}

	.bersoft-catalogo-productos .bcp-filter-sidebar.bcp-drawer--open {
		transform: translateX(0) !important;
		visibility: visible;
	}

	.bersoft-catalogo-productos .bcp-filter-sidebar__close {
		display: block !important;
	}

	.bersoft-catalogo-productos .bcp-filter-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: color-mix(in srgb, var(--bcp-dark) 60%, transparent);
		backdrop-filter: blur(4px);
		z-index: 999998;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease, visibility 0.25s ease;
	}

	.bersoft-catalogo-productos .bcp-filter-backdrop.bcp-backdrop--active {
		opacity: 1;
		visibility: visible;
	}

	/* TABLET: TRES COLUMNAS */
	.bersoft-catalogo-productos .bcp-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}

}

/* MÓVIL (< 768px) */
@media screen and (max-width: 767px) {
	.bersoft-catalogo-productos {
		padding: 0 0 3rem;
	}

	.bersoft-catalogo-productos .bcp-hero-fullwidth {
		padding: 2.5rem 0;
	}

	.bersoft-catalogo-productos .bcp-features-strip__inner {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0;
	}

	.bersoft-catalogo-productos .bcp-categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.bersoft-catalogo-productos .bcp-cat-card--large,
	.bersoft-catalogo-productos .bcp-cat-card--small {
		min-height: 0;
	}

	.bersoft-catalogo-productos .bcp-cat-card__header {
		padding: 0.75rem 0.75rem 0.25rem;
	}

	/* MÓVIL: DOS COLUMNAS */
	.bersoft-catalogo-productos .bcp-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px !important;
	}

	.bersoft-catalogo-productos .bcp-product-card__thumb-link {
		aspect-ratio: 1.12;
	}

	.bersoft-catalogo-productos .bcp-product-card__img {
		max-height: 100%;
	}

	.bersoft-catalogo-productos .bcp-product-card__body {
		padding: 0.625rem 0.75rem 0.875rem;
	}

	.bersoft-catalogo-productos .bcp-product-card__actions {
		grid-template-columns: 1fr;
		gap: 0.375rem;
	}

	.bersoft-catalogo-productos .bcp-cta-banner {
		padding: 1.75rem 1.25rem;
		text-align: center;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__content {
		flex-direction: column;
		justify-content: center;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__action {
		width: 100%;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__action .bcp-btn {
		width: auto;
	}
}

.bersoft-catalogo-productos .bcp-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

.bersoft-catalogo-productos .bcp-product-card__thumb-wrap {
	position: absolute;
	inset: 0;
	color: var(--bcp-muted);
	display: grid;
	place-items: center;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	overflow: hidden;
}

.bersoft-catalogo-productos .bcp-product-card {
	min-width: 0;
	overflow-wrap: anywhere;
}

.bersoft-catalogo-productos .bcp-product-card__actions .bcp-btn {
	line-height: 1.15;
	min-block-size: 30px;
	font-size: min(var(--bs-btn-font-size, 0.75rem), 0.75rem);
	font-weight: 500;
	padding: 4px clamp(3px, 0.42vw, 7px);
	white-space: nowrap;
	overflow-wrap: normal;
	text-transform: none;
}

.bersoft-catalogo-productos .bcp-filter-form__actions .bcp-btn {
	min-block-size: 29px;
	padding-block: 3px;
	line-height: 1.2;
	font-size: min(var(--bs-btn-font-size, 0.75rem), 0.75rem);
	white-space: nowrap;
}

.bersoft-catalogo-productos .bcp-filter-input {
	appearance: auto;
	flex: 0 0 16px;
	position: static;
	opacity: 1;
}

.bersoft-catalogo-productos .bcp-checkbox {
	min-height: 25px;
	overflow-wrap: anywhere;
	font-size: var(--bs-small-size, 0.875rem);
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos .bcp-filter-form__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bersoft-catalogo-productos .bcp-filter-form__actions .bcp-btn {
	flex: 1 1 auto;
	padding-inline: 4px;
	text-transform: none;
}

.bersoft-catalogo-productos .bcp-filter-form__actions .bcp-clear-filters-link[hidden] {
	display: none !important;
}

.bersoft-catalogo-productos :is(.bcp-filter-badge__remove, .bcp-clear-filters-link) {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	text-transform: none;
	white-space: nowrap;
}

.bersoft-catalogo-productos .bcp-clear-filters-link {
	flex: 0 0 auto;
	color: var(--bcp-primary) !important;
	font-size: min(var(--bs-small-size, 0.75rem), 0.75rem);
	font-weight: 600;
	line-height: 1.3;
	padding-inline: 2px;
	text-underline-offset: 2px;
}

.bersoft-catalogo-productos .bcp-filter-badge__remove {
	flex: 0 0 24px;
	min-block-size: 24px;
	color: var(--bcp-muted) !important;
}

.bersoft-catalogo-productos .bcp-filter-badge__remove:hover {
	color: var(--bs-color-error, var(--bcp-primary)) !important;
}

.bersoft-catalogo-productos .bcp-filter-sidebar__close {
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--bcp-heading);
}

.bersoft-catalogo-productos .bcp-filter-sidebar__close svg {
	display: block;
	margin: auto;
}

.bersoft-catalogo-productos :focus-visible {
	outline: 2px solid var(--bcp-primary);
	outline-offset: 2px;
}

.bersoft-catalogo-productos .bcp-hero-fullwidth :focus-visible,
.bersoft-catalogo-productos .bcp-cta-banner :focus-visible {
	outline-color: var(--bcp-accent);
}

.bersoft-catalogo-productos .bcp-products-grid--loading {
	opacity: 0.55;
}

.bersoft-catalogo-productos .bcp-catalog-status {
	margin: 0.75rem 0 0;
	font-size: var(--bs-small-size, 0.875rem);
	color: var(--bcp-text);
	line-height: var(--bs-small-line-height, 1.4);
}

.bersoft-catalogo-productos #bcp-catalog-status:not(:empty) {
	margin: 0 0 0.75rem;
}

.bersoft-catalogo-productos .bcp-products-area {
	scroll-margin-block-start: 1rem;
}

.bersoft-catalogo-productos .bcp-catalog-status:empty {
	margin: 0;
}

.bersoft-catalogo-productos .bcp-feature-item + .bcp-feature-item {
	border-inline-start: 1px solid var(--bcp-border);
	padding-inline-start: 1rem;
}

.bersoft-catalogo-productos:not(.bcp-enhanced) :is(#bcp-clear-all-filters, .bcp-filter-badge__remove, #bcp-clear-filters-btn) {
	display: none;
}

@media (max-width: 1024px) {
	.bersoft-catalogo-productos:not(.bcp-enhanced) .bcp-filter-trigger {
		display: none !important;
	}

	.bersoft-catalogo-productos:not(.bcp-enhanced) .bcp-filter-sidebar {
		grid-area: filters !important;
		position: static !important;
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		transform: none !important;
		visibility: visible;
		box-shadow: none !important;
	}

	.bersoft-catalogo-productos:not(.bcp-enhanced) .bcp-filter-sidebar__close {
		display: none !important;
	}

	.bersoft-catalogo-productos:not(.bcp-enhanced) .bcp-catalog-layout {
		grid-template-areas: "filters" "products" !important;
	}
}

@media (max-width: 767px) {
	.bersoft-catalogo-productos .bcp-hero-fullwidth {
		padding-block: clamp(24px, 7vw, 48px);
		min-height: clamp(300px, 78vw, 435px);
	}

	.bersoft-catalogo-productos .bcp-hero__image {
		object-position: 72% center;
	}

	.bersoft-catalogo-productos .bcp-hero-fullwidth::before {
		background: linear-gradient(90deg, var(--bcp-dark) 15%, color-mix(in srgb, var(--bcp-dark) 90%, transparent) 53%, color-mix(in srgb, var(--bcp-dark) 55%, transparent) 81%, transparent 100%);
	}

	.bersoft-catalogo-productos .bcp-hero__content {
		width: min(82%, 26rem);
	}

	.bersoft-catalogo-productos .bcp-hero__title {
		font-size: min(var(--bs-h1-size, 2rem), clamp(1.45rem, 6.4vw, 2.1rem));
		line-height: 1.22;
		margin-block-end: 1rem;
		text-wrap: balance;
		overflow-wrap: break-word;
	}

	.bersoft-catalogo-productos .bcp-hero__intro {
		font-size: var(--bs-small-size, 0.875rem);
		line-height: 1.55;
		max-width: 36ch;
		text-wrap: pretty;
		overflow-wrap: break-word;
	}

	.bersoft-catalogo-productos .bcp-filter-trigger {
		min-height: max(24px, calc(var(--bs-form-height, 38px) - 2px));
		padding-block: max(0px, calc(var(--bs-btn-padding-y, 8px) - 1px));
	}

	.bersoft-catalogo-productos .bcp-hero__brand-tag {
		gap: 0.35rem;
	}

	.bersoft-catalogo-productos .bcp-hero__company {
		font-size: var(--bs-caption-size, 0.7rem);
	}

	.bersoft-catalogo-productos .bcp-cat-card--large {
		grid-column: span 1;
		aspect-ratio: 1.15;
		min-height: 122px;
	}

	.bersoft-catalogo-productos .bcp-cat-card--large .bcp-cat-card__header {
		width: 100%;
		padding: 9px 9px 0;
		background: linear-gradient(to bottom, var(--bcp-tint), transparent);
	}

	.bersoft-catalogo-productos .bcp-cat-card--large .bcp-cat-card__img {
		inset-block-start: 13%;
		width: 100%;
		height: 87%;
		object-fit: cover;
		mask-image: linear-gradient(to bottom, transparent, black 23%);
	}

	.bersoft-catalogo-productos .bcp-cat-card__title {
		font-size: min(var(--bs-h3-size, 1rem), 4vw);
	}

	.bersoft-catalogo-productos .bcp-cat-card--small .bcp-cat-card__title {
		font-size: min(var(--bs-h4-size, 1rem), 3.8vw);
	}

	.bersoft-catalogo-productos .bcp-feature-item {
		flex-direction: column;
		justify-content: flex-start;
		text-align: center;
		padding-inline: 4px;
	}

	.bersoft-catalogo-productos .bcp-feature-item + .bcp-feature-item {
		padding-inline-start: 4px;
	}

	.bersoft-catalogo-productos .bcp-feature-item__text {
		font-size: var(--bs-caption-size, 0.72rem);
	}

	.bersoft-catalogo-productos .bcp-cta-banner {
		text-align: start;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__content {
		align-items: flex-start;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__text {
		flex: 0 1 auto;
	}

	.bersoft-catalogo-productos .bcp-cta-banner__bg {
		width: 80%;
		opacity: 0.35;
		background-position: right bottom;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bersoft-catalogo-productos *,
	.bersoft-catalogo-productos *::before,
	.bersoft-catalogo-productos *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (min-width: 1025px) {
	.bersoft-catalogo-productos .bcp-mobile-filter-bar:not(:has(.bcp-filter-badge)) {
		display: none;
	}
}
