/* Hub + gate + Mi cuenta mayorista (bp-mayorista-split) */

.bp-ms-hub {
	--bp-ms-ink: #111;
	--bp-ms-muted: #444;
	--bp-ms-line: #e2e2e2;
	--bp-ms-bg: #fff;
	--bp-ms-soft: #f6f6f6;
	--bp-ms-ok: #1a7f37;
	max-width: 720px;
	margin: 1.5rem auto 2rem;
	padding: 1.35rem 1.4rem 1.5rem;
	border: 1px solid var(--bp-ms-line);
	border-radius: 6px;
	background: var(--bp-ms-bg);
	box-sizing: border-box;
	color: var(--bp-ms-ink);
}

.bp-ms-hub *,
.bp-ms-hub *::before,
.bp-ms-hub *::after {
	box-sizing: border-box;
}

.bp-ms-hub__brand {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #555;
	font-weight: 600;
}

.bp-ms-hub__top {
	margin: 0 0 1.15rem;
}

.bp-ms-hub__top-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.bp-ms-hub__top .bp-ms-hub__title,
.bp-ms-hub__top .bp-ms-hub__status {
	margin: 0;
}

.bp-ms-hub__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #666;
}

.bp-ms-hub__title {
	margin: 0 0 0.5rem;
	font-size: 1.55rem;
	line-height: 1.25;
	color: var(--bp-ms-ink);
}

.bp-ms-hub__lead {
	margin: 0 0 1.15rem;
	color: #333;
	line-height: 1.45;
}

.bp-ms-hub__lead a {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bp-ms-hub__lead a:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__status {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.35rem 0.65rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--bp-ms-ok);
	background: #eaf6ee;
	border-radius: 4px;
}

.bp-ms-hub__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 0.25rem;
}

.bp-ms-hub__top .bp-ms-hub__ctas {
	margin: 0.9rem 0 0;
}

.bp-ms-hub__doors {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
}
.bp-ms-hub__doors .button {
	width: 100%;
	justify-content: center;
}

.bp-ms-hub__login-later {
	margin: 2.75rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid #e6e6e6;
}
.bp-ms-hub__login-later p {
	margin: 0;
}
.bp-ms-form-error {
	color: #b42318;
	font-weight: 600;
}
.bp-ms-perfil__field.is-error label,
.bp-ms-prospect-terms.is-error {
	color: #b42318;
}
.bp-ms-perfil__field.is-error input,
.bp-ms-prospect-terms.is-error input {
	border: 2px solid #b42318;
	outline: 2px solid #b42318;
}

.bp-ms-prospect-terms {
	flex: 1 1 100%;
	margin: 0;
}
.bp-ms-prospect-terms label {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
}
.bp-ms-prospect-terms input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	min-height: 1.15rem;
	margin: 0;
	flex: 0 0 auto;
}

.bp-ms-hub__cta,
.bp-ms-hub__cta-primary,
.bp-ms-hub a.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: var(--bp-ms-soft);
	color: var(--bp-ms-ink);
}

.bp-ms-hub__cta:hover,
.bp-ms-hub__cta:focus-visible,
.bp-ms-hub a.button:hover,
.bp-ms-hub a.button:focus-visible {
	border-color: #999;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__cta-primary,
.bp-ms-hub a.button.alt.bp-ms-hub__cta-primary,
.bp-ms-hub button.button.alt.bp-ms-hub__cta-primary {
	background: #111 !important;
	color: #fff !important;
	border-color: #111 !important;
}

.bp-ms-hub__cta-primary:hover,
.bp-ms-hub__cta-primary:focus-visible {
	background: #222 !important;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__min {
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid var(--bp-ms-line);
}

.bp-ms-minbar__meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 14px;
	margin-bottom: 0.4rem;
	color: var(--bp-ms-muted);
}

.bp-ms-minbar__track {
	height: 10px;
	background: #eee;
	border-radius: 999px;
	overflow: hidden;
}

.bp-ms-minbar__fill {
	display: block;
	height: 100%;
	background: #222;
	border-radius: 999px;
	transition: width 0.2s ease;
}

.bp-ms-minbar__fill.is-met {
	background: var(--bp-ms-ok);
}

.bp-ms-hub__min-msg {
	margin: 0.55rem 0 0;
	font-size: 14px;
	color: var(--bp-ms-muted);
}

.bp-ms-hub__note {
	margin: 0.85rem 0 0;
	font-size: 13px;
	color: #555;
}

.bp-ms-hub__conditions {
	margin: 1.25rem 0 0;
	padding: 1rem 1.05rem;
	background: var(--bp-ms-soft);
	border-radius: 4px;
}

.bp-ms-hub__conditions-title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--bp-ms-ink);
}

.bp-ms-hub__conditions-list {
	margin: 0;
	padding-left: 1.15rem;
	color: var(--bp-ms-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.bp-ms-hub__conditions-list li + li {
	margin-top: 0.35rem;
}

.bp-ms-hub__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bp-ms-line);
	font-size: 0.9rem;
}

.bp-ms-hub__footer a {
	color: var(--bp-ms-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.bp-ms-hub__footer a:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

/* Mi cuenta — panel B2B (fallback dashboard) */
.bp-ms-account-dash {
	max-width: 720px;
}

.bp-ms-account-dash__title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	line-height: 1.3;
}

.bp-ms-account-dash__lead {
	margin: 0 0 1rem;
	color: #333;
	line-height: 1.45;
}

.bp-ms-account-dash__orders {
	margin-top: 1.25rem;
}

.bp-ms-account-dash__orders h3 {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
}

.bp-ms-account-dash__orders table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.bp-ms-account-dash__orders th,
.bp-ms-account-dash__orders td {
	padding: 0.55rem 0.4rem;
	border-bottom: 1px solid var(--bp-ms-line, #e2e2e2);
	text-align: left;
}

.bp-ms-account-dash__orders a {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bp-ms-account-dash__orders a:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

/* Ocultar copy retail de Woo encima del panel B2B */
body.bp-ms-wholesale-account .woocommerce-MyAccount-content > p {
	display: none;
}

/* Navigation polish on account for wholesale body class */
body.bp-ms-wholesale-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.bp-ms-wholesale-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.4rem 0.65rem;
}

body.bp-ms-wholesale-account .woocommerce-MyAccount-navigation a:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.bp-ms-hub {
		margin: 1rem 0 1.5rem;
		padding: 1.1rem 1rem 1.25rem;
	}

	.bp-ms-hub__title {
		font-size: 1.35rem;
	}

	.bp-ms-hub__cta,
	.bp-ms-hub__cta-primary,
	.bp-ms-hub a.button {
		width: 100%;
	}

	.bp-ms-minbar__meta {
		flex-direction: column;
		gap: 0.25rem;
	}
}


/* Completar perfil mayorista */
.bp-ms-perfil {
	margin-bottom: 1.25rem;
}
.bp-ms-perfil__steps {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	color: #555;
}
.bp-ms-perfil__steps .is-current {
	font-weight: 700;
	color: #111;
}
.bp-ms-perfil__steps .is-done {
	color: var(--bp-ms-ok, #1a7f37);
	font-weight: 600;
}
.bp-ms-perfil__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin: 0;
}
.bp-ms-perfil__field {
	flex: 1 1 100%;
	margin: 0;
}
.bp-ms-perfil__field--half {
	flex: 1 1 calc(50% - 0.5rem);
	min-width: 140px;
}
.bp-ms-perfil__field label {
	display: block;
	margin: 0 0 0.3rem;
	font-size: 0.8125rem;
	font-weight: 600;
}
.bp-ms-perfil__field input,
.bp-ms-perfil__field select {
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}
.bp-ms-pass {
	position: relative;
	display: block;
}
.bp-ms-pass input {
	padding-right: 5.25rem;
}
.bp-ms-pass__toggle {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 44px;
	min-height: 40px;
	padding: 0 0.45rem;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: #111;
	font-size: 0.75rem;
	font-weight: 700;
	cursor: pointer;
}
.bp-ms-pass__toggle:hover,
.bp-ms-pass__toggle:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}
.bp-ms-perfil__actions {
	flex: 1 1 100%;
	margin: 0.35rem 0 0;
}
.bp-ms-perfil__actions .button {
	min-height: 44px;
}
.bp-ms-perfil-banner {
	max-width: 720px;
	margin: 0 auto 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #f0c36d;
	background: #fff8e6;
	border-radius: 4px;
}
.bp-ms-perfil-banner p {
	margin: 0;
	line-height: 1.4;
}


/* Promos CTA + últimos ingresos */
.bp-ms-hub__cta--promos {
	border-color: #111 !important;
	font-weight: 700;
}

.bp-ms-hub__nuevos {
	margin: 0 0 1.35rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid var(--bp-ms-line);
}

.bp-ms-hub__nuevos-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
}

.bp-ms-hub__nuevos-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
}

.bp-ms-hub__nuevos-all {
	font-size: 0.875rem;
	color: var(--bp-ms-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.bp-ms-hub__nuevos-scroller {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.bp-ms-hub__nuevos-nav {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #111;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.bp-ms-hub__nuevos-nav:hover,
.bp-ms-hub__nuevos-nav:focus-visible {
	background: #111;
	color: #fff;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__nuevos-nav:disabled {
	opacity: 0.35;
	cursor: default;
	background: #fff;
	color: #111;
}

.bp-ms-hub__nuevos-track {
	display: flex;
	gap: 0.65rem;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	padding: 0.15rem 0 0.35rem;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.bp-ms-hub__nuevos-track::-webkit-scrollbar {
	display: none;
}

.bp-ms-hub__nuevo {
	flex: 0 0 min(168px, 70vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.55rem;
	border: 1px solid var(--bp-ms-line);
	border-radius: 4px;
	background: var(--bp-ms-soft);
	color: var(--bp-ms-ink);
	min-height: 0;
}

/* Card compartida (BP_NI_Card): el wrapper solo aporta el ancho de la fila. */
.bp-ms-hub__nuevo:has(.bp-ni-card) {
	padding: 0;
	border: 0;
	background: transparent;
	gap: 0;
}

.bp-ms-hub__nuevo > .bp-ni-card {
	flex: 1 1 auto;
}

.bp-ms-hub__nuevo-link {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
	min-height: 0;
}

.bp-ms-hub__nuevo-link:hover,
.bp-ms-hub__nuevo-link:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__nuevo:hover {
	border-color: #999;
}

.bp-ms-hub__nuevo-add.button {
	display: block;
	width: 100%;
	margin: auto 0 0;
	padding: 0.15rem 0.4rem;
	min-height: 28px;
	border: 1px solid #111;
	border-radius: 4px;
	background: #111;
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
}

.bp-ms-hub__nuevo-add.button:hover,
.bp-ms-hub__nuevo-add.button:focus-visible {
	background: #333;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__nuevo-add.button:disabled,
.bp-ms-hub__nuevo-add.button.is-loading {
	opacity: 0.7;
	cursor: wait;
}

.bp-ms-hub__nuevo-add.button.is-added {
	background: #16a34a;
	border-color: #16a34a;
}

.bp-ms-hub__atc-error {
	margin: 0.35rem 0 0;
	color: #991b1b;
	font-size: 0.75rem;
	line-height: 1.35;
}

.bp-ms-hub__nuevo-media {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 3px;
	overflow: hidden;
	background: #eee;
}

.bp-ms-hub__nuevo-tag {
	position: absolute;
	top: 6px;
	left: 6px;
	z-index: 1;
	max-width: calc(100% - 12px);
	padding: 2px 6px;
	border-radius: 3px;
	background: #14532d;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
}

.bp-ms-hub__nuevo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-ms-hub__nuevo-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0 0.15rem 0.2rem;
}

.bp-ms-hub__nuevo-name {
	font-size: 0.8rem;
	line-height: 1.3;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.1em;
}

.bp-ms-hub__nuevo-price {
	margin-top: 0.15rem;
	font-size: 0.875rem;
	font-weight: 700;
}

.bp-ms-hub__nuevo-iva {
	font-size: 0.7rem;
	font-weight: 500;
	color: #666;
	line-height: 1.2;
}


@media (max-width: 781px) {
	.bp-ms-hub:has(.bp-ms-hub__nuevos) {
		display: flex;
		flex-direction: column;
	}

	.bp-ms-hub__nuevos {
		order: 2;
		margin: 1.35rem 0 0;
		padding-top: 1.15rem;
		padding-bottom: 0;
		border-bottom: 0;
		border-top: 1px solid var(--bp-ms-line);
	}

	.bp-ms-hub__footer {
		order: 3;
	}

	.bp-ms-hub__combos,
	.bp-ms-hub:has(.bp-ms-hub__combos) .bp-ms-hub__nuevos {
		order: -1;
	}

	.bp-ms-hub__nuevos-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	/* Mobile: swipe táctil, sin flechas que roben ancho */
	.bp-ms-hub__nuevos-scroller {
		gap: 0;
	}

	.bp-ms-hub__nuevos-nav {
		display: none !important;
	}
}

.bp-ms-hub__combos {
	margin: 0 0 1.25rem;
}

.bp-ms-quiz__error {
	margin: 0 0 1rem;
	padding: 0.65rem 0.75rem;
	color: #111;
	background: #fde8e8;
	border-radius: 4px;
}

.bp-ms-quiz__hp {
	position: absolute;
	left: -9999px;
}

.bp-ms-quiz__types {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.bp-ms-quiz__types legend {
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.bp-ms-quiz__hint {
	margin: 0 0 0.5rem;
	color: #333;
}

.bp-ms-quiz__check {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 44px;
	margin: 0;
	cursor: pointer;
}

.bp-ms-quiz__province label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
}

.bp-ms-quiz__submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin: 0.35rem 0 0;
}

.bp-ms-quiz__province select,
.bp-ms-quiz__submit .button {
	min-height: 44px;
}

.bp-ms-quiz__check input:focus-visible,
.bp-ms-quiz__province select:focus-visible,
.bp-ms-quiz__submit .button:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-wa-cta {
	margin: 0 0 0.65rem;
}

.bp-ms-wa-cta .button {
	display: flex;
	width: 100%;
	justify-content: center;
}

/* Thankyou: botón grande de WhatsApp + completar datos */
.bp-ms-wa-big {
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.25rem;
	background: #f6f6f6;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
}

.bp-ms-wa-big__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	color: #111;
}

.bp-ms-wa-big__btn {
	margin: 0;
}

.bp-ms-wa-big__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	padding: 0.9rem 1.25rem;
	background: #25d366;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
}

.bp-ms-wa-big__cta:hover,
.bp-ms-wa-big__cta:focus {
	background: #1eb857;
	color: #fff;
	text-decoration: none;
}

.bp-ms-wa-big__cta:focus-visible {
	outline: 3px solid #111;
	outline-offset: 2px;
}

.bp-ms-wa-big__note {
	margin: 0.6rem 0 0;
	font-size: 0.8125rem;
	color: #555;
}

.bp-ms-thankyou-fix {
	margin: 0 0 1.5rem;
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
}

.bp-ms-thankyou-fix__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
}

.bp-ms-thankyou-fix__lead {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	color: #333;
}

.bp-ms-thankyou-fix__errors {
	margin: 0 0 0.85rem;
	padding-left: 1.15rem;
	color: #b42318;
	font-weight: 600;
}

.bp-ms-thankyou-fix__note {
	margin: 0.15rem 0 0.5rem;
	font-size: 0.8125rem;
	color: #555;
}

.bp-ms-thankyou-fix .bp-ms-perfil__actions {
	margin: 0;
}


/* Hub — última novedad */
.bp-ms-hub__latest {
	display: block;
	margin: 0.75rem 0 0;
	padding: 0.55rem 0.75rem;
	border-left: 3px solid #ccc;
	background: #fff;
	color: var(--bp-ms-ink);
	font-size: 0.875rem;
	line-height: 1.35;
	font-weight: 600;
	text-decoration: none;
	min-height: 44px;
}

.bp-ms-hub__latest:hover,
.bp-ms-hub__latest:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__latest--aumento {
	border-left-color: #B45309;
	color: #B45309;
	background: #FEF3C7;
}

.bp-ms-hub__latest--ingreso {
	border-left-color: #15803D;
	color: #15803D;
	background: #DCFCE7;
}

/* Hub nav card — Novedades */
.bp-ms-hub__nav-cards {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0.9rem 0 0;
}

.bp-ms-hub__nav-card {
	display: block;
	padding: 0.85rem 1rem;
	border: 1px solid var(--bp-ms-line);
	border-radius: 4px;
	background: var(--bp-ms-soft);
	color: var(--bp-ms-ink);
	text-decoration: none;
	min-height: 44px;
}

.bp-ms-hub__nav-card:hover,
.bp-ms-hub__nav-card:focus-visible {
	border-color: #999;
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-hub__nav-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin: 0 0 0.25rem;
}

.bp-ms-hub__nav-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
}

.bp-ms-hub__nav-card-badge {
	flex: 0 0 auto;
	padding: 0.2rem 0.5rem;
	border-radius: 3px;
	background: #14532d;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bp-ms-hub__nav-card-lead {
	display: block;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--bp-ms-muted);
}


/* Página Novedades — filas tipo tabla */
.bp-ms-novedades__top {
	margin: 0 0 1.15rem;
}

.bp-ms-novedades__cta {
	margin: 0.85rem 0 0;
}

.bp-ms-novedades__cta .button {
	width: 100%;
}

.bp-ms-novedades__empty {
	margin: 0;
	color: var(--bp-ms-muted);
	line-height: 1.45;
}

.bp-ms-novedades__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--bp-ms-line);
}

.bp-ms-novedades__item {
	display: grid;
	margin: 0;
	padding: 0.55rem 0.65rem;
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--bp-ms-line);
	border-left: 3px solid transparent;
	border-radius: 0;
	align-items: center;
	column-gap: 0.65rem;
	row-gap: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.35;
	color: var(--bp-ms-ink);
}

.bp-ms-novedades__item--aumento {
	border-left-color: #B45309;
}

.bp-ms-novedades__item--ingreso {
	border-left-color: #15803D;
}

.bp-ms-novedades__tag {
	display: inline-block;
	padding: 0.15rem 0.45rem;
	border-radius: 3px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.bp-ms-novedades__item--aumento .bp-ms-novedades__tag {
	color: #B45309;
	background: #FEF3C7;
}

.bp-ms-novedades__item--ingreso .bp-ms-novedades__tag {
	color: #15803D;
	background: #DCFCE7;
}

.bp-ms-novedades__cell--fecha {
	color: var(--bp-ms-muted);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.bp-ms-novedades__cell--dato {
	white-space: nowrap;
	text-align: right;
}

.bp-ms-novedades__pct {
	font-weight: 700;
	color: var(--bp-ms-ink);
}

.bp-ms-novedades__text-inner {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	min-width: 0;
}

.bp-ms-novedades__text-main {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bp-ms-novedades__more {
	flex: 0 0 auto;
	position: relative;
}

.bp-ms-novedades__more summary {
	cursor: pointer;
	color: var(--bp-ms-ink);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
	list-style: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.bp-ms-novedades__more summary::-webkit-details-marker {
	display: none;
}

.bp-ms-novedades__more summary:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

.bp-ms-novedades__cats-full {
	position: absolute;
	z-index: 2;
	left: 0;
	top: 100%;
	min-width: 12rem;
	max-width: min(18rem, 80vw);
	margin: 0.25rem 0 0;
	padding: 0.5rem 0.75rem 0.5rem 1.35rem;
	background: #fff;
	border: 1px solid var(--bp-ms-line);
	border-radius: 4px;
	box-shadow: none;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--bp-ms-muted);
	white-space: normal;
}

.bp-ms-novedades__cell--action a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--bp-ms-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.bp-ms-novedades__cell--action a:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
}

/* Mobile: máx. 2 líneas (L1 etiqueta+fecha+dato; L2 texto+acción) */
.bp-ms-novedades__item {
	grid-template-columns: auto auto 1fr;
	grid-template-areas:
		"label fecha dato"
		"text text action";
}

.bp-ms-novedades__cell--label { grid-area: label; }
.bp-ms-novedades__cell--fecha { grid-area: fecha; }
.bp-ms-novedades__cell--text { grid-area: text; min-width: 0; }
.bp-ms-novedades__cell--dato { grid-area: dato; }
.bp-ms-novedades__cell--action { grid-area: action; justify-self: end; }

@media (min-width: 601px) {
	.bp-ms-novedades__cta .button {
		width: auto;
	}

	.bp-ms-novedades__item {
		grid-template-columns: 5.5rem 3.25rem minmax(0, 1fr) auto auto;
		grid-template-areas: "label fecha text dato action";
		padding: 0.45rem 0.75rem;
	}
}

