/*
Theme Name: NSMTB 2026
Theme URI: https://nsmtb.com/
Description: Tema de bloques de NSMTB para catálogo de bicicletas, montajes personalizados y SHOP.
Author: NSMTB
Template: twentytwentyfive
Version: 0.1.51
Text Domain: nsmtb-2026
*/

:root {
	--ns-theme-bg: #151715;
	--ns-theme-surface: #1f221f;
	--ns-theme-surface-soft: #292d29;
	--ns-theme-ink: #f4f1e8;
	--ns-theme-muted: #aeb5ad;
	--ns-theme-line: #3a403a;
	--ns-theme-green: #183a2d;
	--ns-theme-red: #d33a2c;
	--ns-theme-paper: #f3f0e7;
	--ns-theme-max: 1480px;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ns-theme-bg);
	color: var(--ns-theme-ink);
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nsmtb-site-header {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 32px;
	min-height: 88px;
	padding: 16px clamp(20px, 4vw, 64px);
	background: rgba(21, 23, 21, .96);
	border-bottom: 1px solid var(--ns-theme-line);
}

.nsmtb-wordmark {
	color: var(--ns-theme-ink);
	font-size: 25px;
	font-weight: 850;
	letter-spacing: -.055em;
	line-height: 1;
	text-decoration: none;
}

.nsmtb-wordmark span {
	color: var(--ns-theme-red);
}

.nsmtb-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(13px, 2.2vw, 34px);
}

.nsmtb-main-nav a,
.nsmtb-header-actions a {
	color: var(--ns-theme-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .075em;
	text-decoration: none;
	text-transform: uppercase;
}

.nsmtb-main-nav a {
	position: relative;
	padding-block: 12px;
}

.nsmtb-main-nav a::after {
	position: absolute;
	right: 0;
	bottom: 5px;
	left: 0;
	height: 2px;
	background: var(--ns-theme-red);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .18s ease;
}

.nsmtb-main-nav a:hover::after,
.nsmtb-main-nav a:focus-visible::after {
	transform: scaleX(1);
}

.nsmtb-main-nav .nsmtb-nav-shop {
	color: #ef675a;
}

.nsmtb-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nsmtb-header-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 13px;
	border: 1px solid var(--ns-theme-line);
}

.nsmtb-header-actions .nsmtb-header-contact {
	border-color: #617065;
}

.nsmtb-home {
	background: var(--ns-theme-bg);
	color: var(--ns-theme-ink);
}

.nsmtb-home a:focus-visible,
.nsmtb-site-header a:focus-visible,
.nsmtb-site-footer a:focus-visible {
	outline: 3px solid var(--ns-theme-red);
	outline-offset: 4px;
}

.nsmtb-home-intro {
	max-width: var(--ns-theme-max);
	margin-inline: auto;
	padding: clamp(48px, 7vw, 108px) clamp(20px, 4vw, 64px) clamp(34px, 5vw, 74px);
}

.nsmtb-eyebrow {
	margin: 0 0 22px;
	color: var(--ns-theme-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.nsmtb-home h1 {
	max-width: 1100px;
	margin: 0 0 clamp(38px, 6vw, 72px);
	font-size: clamp(50px, 8vw, 116px);
	font-weight: 500;
	letter-spacing: -.065em;
	line-height: .92;
	text-wrap: balance;
}

.nsmtb-home h1 span {
	color: #8f9790;
}

.nsmtb-home h1 i {
	color: var(--ns-theme-red);
	font-style: normal;
}

.nsmtb-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.nsmtb-brand-card {
	display: flex;
	min-width: 0;
	min-height: 178px;
	flex-direction: column;
	background: #fff;
	color: #202320;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.nsmtb-brand-card:hover {
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
	transform: translateY(-4px);
}

.nsmtb-brand-logo {
	display: flex;
	min-height: 132px;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 22px;
	overflow: hidden;
}

.nsmtb-brand-logo img {
	display: block;
	width: 100%;
	max-width: 190px;
	height: 78px;
	object-fit: contain;
}

.nsmtb-brand-card[data-brand="forbidden"] img {
	max-width: 145px;
	height: 105px;
}

.nsmtb-brand-card[data-brand="norco"] img {
	max-width: 155px;
	height: 88px;
}

.nsmtb-brand-card[data-brand="velduro"] img {
	width: 190px;
	max-width: none;
	height: 190px;
	filter: grayscale(1) invert(1) brightness(.62) contrast(5);
}

.nsmtb-brand-card[data-brand="teewing"] img {
	max-width: 165px;
	filter: grayscale(1) invert(1) brightness(.75) contrast(5);
}

.nsmtb-brand-caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 18px 16px;
	color: #606760;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.nsmtb-brand-caption b {
	color: #1e211e;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
}

.nsmtb-home-section {
	max-width: var(--ns-theme-max);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 64px);
}

.nsmtb-custom-feature {
	position: relative;
	min-height: clamp(430px, 54vw, 720px);
	overflow: hidden;
	background: #171817;
}

.nsmtb-custom-feature > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .7s ease;
}

.nsmtb-custom-feature:hover > img {
	transform: scale(1.015);
}

.nsmtb-custom-feature::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 12, 10, .93) 0%, rgba(10, 12, 10, .64) 42%, rgba(10, 12, 10, .08) 76%);
	content: "";
}

.nsmtb-feature-copy {
	position: relative;
	z-index: 1;
	display: flex;
	max-width: 620px;
	min-height: inherit;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(32px, 6vw, 78px);
}

.nsmtb-feature-copy h2,
.nsmtb-shop-copy h2 {
	margin: 0 0 20px;
	font-size: clamp(42px, 6vw, 78px);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: .95;
}

.nsmtb-feature-copy p:not(.nsmtb-eyebrow),
.nsmtb-shop-copy p:not(.nsmtb-eyebrow) {
	max-width: 480px;
	margin: 0;
	color: #c8cdc7;
	font-size: clamp(16px, 1.6vw, 21px);
	line-height: 1.55;
}

.nsmtb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: 30px;
	padding: 13px 20px;
	background: var(--ns-theme-red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
}

.nsmtb-shop-feature {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr);
	min-height: 560px;
	margin-top: clamp(22px, 3vw, 38px);
	background: var(--ns-theme-green);
	overflow: hidden;
}

.nsmtb-shop-copy {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(34px, 6vw, 82px);
	border-left: 4px solid var(--ns-theme-red);
}

.nsmtb-shop-art {
	position: relative;
	min-height: 500px;
	margin: 0;
	background: #202320;
}

.nsmtb-shop-art img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nsmtb-shop-art figcaption {
	position: absolute;
	right: 20px;
	bottom: 18px;
	padding: 8px 10px;
	background: rgba(10, 11, 10, .68);
	color: #d7dbd6;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nsmtb-direct-contact {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px;
	max-width: var(--ns-theme-max);
	margin: clamp(22px, 3vw, 38px) auto 0;
	padding: clamp(30px, 5vw, 64px) clamp(20px, 4vw, 64px);
	border-top: 1px solid var(--ns-theme-line);
}

.nsmtb-direct-contact h2 {
	margin: 0 0 10px;
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 500;
	letter-spacing: -.04em;
}

.nsmtb-direct-contact p {
	margin: 0;
	color: var(--ns-theme-muted);
}

.nsmtb-direct-contact .nsmtb-button {
	margin: 0;
	white-space: nowrap;
}

.nsmtb-whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 30;
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	background: var(--ns-theme-red);
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 50%;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
	color: #fff;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .04em;
	text-decoration: none;
}

.nsmtb-site-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 32px;
	margin-top: 50px;
	padding: 34px clamp(20px, 4vw, 64px) 42px;
	background: #101210;
	border-top: 1px solid var(--ns-theme-line);
	color: var(--ns-theme-muted);
}

.nsmtb-catalog-page {
	max-width: var(--ns-theme-max);
	min-height: 62vh;
	margin: 0 auto !important;
	padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 64px) 80px;
}

.nsmtb-legal-content { box-sizing: border-box; width: min(100% - 48px, 880px); margin: 36px auto 64px; color: #efeee8; }
.nsmtb-legal-content .wp-block-post-title { font-size: clamp(30px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 32px; overflow-wrap: anywhere; }
.nsmtb-legal-content .wp-block-post-content { font-size: 16px; line-height: 1.75; }
.nsmtb-legal-content h2 { font-size: 24px; line-height: 1.3; margin-top: 36px; }
.nsmtb-legal-content p, .nsmtb-legal-content ul, .nsmtb-legal-content ol { margin-bottom: 18px; }
.nsmtb-legal-content a { color: inherit; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.nsmtb-legal-content a:focus-visible { outline: 2px solid #ef665f; outline-offset: 4px; }
.nsmtb-legal-content li { margin-bottom: .55em; }
.nsmtb-legal-review { border-left: 3px solid #ce3434; padding: 12px 18px; background: #242626; }

p:empty:has(+ .nsmtb-catalog-page),
.nsmtb-catalog-page > p:empty {
	display: none;
}

.nsmtb-catalog-page br {
	display: none;
}

.nsmtb-catalog-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 24px;
	color: var(--ns-theme-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.nsmtb-catalog-breadcrumb a {
	color: var(--ns-theme-ink);
	text-decoration-color: var(--ns-theme-red);
	text-underline-offset: 4px;
}

.nsmtb-catalog-page > h1 {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(52px, 8vw, 108px);
	font-weight: 500;
	letter-spacing: -.06em;
	line-height: .94;
}

.nsmtb-catalog-intro {
	max-width: 620px;
	margin: 24px 0 42px;
	color: var(--ns-theme-muted);
	font-size: 18px;
	line-height: 1.6;
}

.nsmtb-catalog-page .nsmtb-brand-grid {
	margin-top: 10px;
}

.nsmtb-family-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.nsmtb-family-card {
	display: flex;
	min-height: 178px;
	box-sizing: border-box;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	padding: 24px;
	background: var(--ns-theme-surface);
	border: 1px solid var(--ns-theme-line);
	color: var(--ns-theme-ink);
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease;
}

.nsmtb-family-card:hover {
	background: var(--ns-theme-green);
	border-color: #58705e;
}

.nsmtb-family-card strong {
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 500;
	letter-spacing: -.045em;
	line-height: 1;
}

.nsmtb-family-card span {
	font-size: 20px;
}

.nsmtb-empty-catalog {
	max-width: 720px;
	padding: clamp(26px, 5vw, 52px);
	background: var(--ns-theme-green);
	border-left: 4px solid var(--ns-theme-red);
}

.nsmtb-empty-catalog h2 {
	margin: 0 0 14px;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 500;
	letter-spacing: -.04em;
}

.nsmtb-empty-catalog p {
	margin: 0;
	color: #d4dcd3;
	line-height: 1.65;
}

.nsmtb-product-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.nsmtb-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 16px;
	background: var(--ns-theme-surface);
	border: 1px solid var(--ns-theme-line);
}

.nsmtb-product-card > a:first-of-type {
	display: block;
	background: var(--ns-theme-paper);
}

.nsmtb-product-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.nsmtb-product-card h2 {
	margin: 22px 0 10px;
	font-size: clamp(23px, 2.2vw, 34px);
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.08;
}

.nsmtb-product-card h2 a {
	color: var(--ns-theme-ink);
	text-decoration: none;
}

.nsmtb-product-card .price {
	margin: 0 0 20px;
	color: #ef675a;
	font-weight: 700;
}

.nsmtb-product-card .nsmtb-product-link {
	align-self: flex-start;
	margin-top: auto;
	padding-bottom: 5px;
	border-bottom: 2px solid var(--ns-theme-red);
	color: var(--ns-theme-ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;

}

.nsmtb-draft-label {
	display: inline-block;
	align-self: flex-start;
	margin-bottom: 13px;
	padding: 6px 8px;
	background: #373d37;
	color: #cdd2cc;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.nsmtb-site-footer strong {
	display: block;
	margin-bottom: 10px;
	color: var(--ns-theme-ink);
	font-size: 20px;
}

.nsmtb-site-footer p {
	max-width: 620px;
	margin: 0;
	font-size: 12px;
	line-height: 1.7;
}

.nsmtb-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px 22px;
}

.nsmtb-footer-links a {
	color: var(--ns-theme-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

@media (max-width: 960px) {
	.nsmtb-site-header {
		grid-template-columns: auto auto;
		gap: 10px 22px;
	}

	.nsmtb-main-nav {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.nsmtb-header-actions {
		justify-content: flex-end;
	}

	.nsmtb-shop-feature {
		grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
	}
}

@media (max-width: 700px) {
	.nsmtb-site-header {
		min-height: 74px;
		padding: 14px 18px 10px;
	}

	.nsmtb-wordmark {
		font-size: 23px;
	}

	.nsmtb-main-nav {
		gap: 17px;
		margin-inline: -18px;
		padding-inline: 18px;
		scrollbar-width: none;
	}

	.nsmtb-main-nav::-webkit-scrollbar {
		display: none;
	}

	.nsmtb-main-nav a {
		flex: 0 0 auto;
		font-size: 10px;
	}

	.nsmtb-header-actions .nsmtb-header-contact {
		display: none;
	}

	.nsmtb-header-actions a {
		min-height: 38px;
		padding: 7px 10px;
		font-size: 10px;
	}

	.nsmtb-home-intro {
		padding-top: 46px;
	}

	.nsmtb-home h1 {
		font-size: clamp(49px, 16vw, 72px);
		line-height: .94;
	}

	.nsmtb-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.nsmtb-brand-card {
		min-height: 145px;
	}

	.nsmtb-brand-logo {
		min-height: 106px;
		padding: 15px;
	}

	.nsmtb-brand-logo img {
		max-width: 125px;
		height: 64px;
	}

	.nsmtb-brand-card[data-brand="forbidden"] img {
		max-width: 100px;
		height: 78px;
	}

	.nsmtb-brand-card[data-brand="velduro"] img {
		width: 135px;
		height: 135px;
	}

	.nsmtb-brand-caption {
		padding: 9px 11px 12px;
		font-size: 8px;
	}

	.nsmtb-custom-feature {
		min-height: 560px;
	}

	.nsmtb-custom-feature > img {
		object-position: 58% center;
	}

	.nsmtb-custom-feature::after {
		background: linear-gradient(0deg, rgba(10, 12, 10, .96) 3%, rgba(10, 12, 10, .72) 46%, rgba(10, 12, 10, .05) 78%);
	}

	.nsmtb-feature-copy {
		justify-content: flex-end;
		padding: 30px 24px 38px;
	}

	.nsmtb-feature-copy h2,
	.nsmtb-shop-copy h2 {
		font-size: 43px;
	}

	.nsmtb-shop-feature {
		grid-template-columns: 1fr;
	}

	.nsmtb-shop-art {
		min-height: 360px;
		grid-row: 1;
	}

	.nsmtb-shop-copy {
		grid-row: 2;
		padding: 34px 24px 40px;
	}

	.nsmtb-direct-contact {
		grid-template-columns: 1fr;
	}

	.nsmtb-direct-contact .nsmtb-button {
		justify-self: start;
	}

	.nsmtb-site-footer {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.nsmtb-footer-links {
		justify-content: flex-start;
	}

	.nsmtb-catalog-page > h1 {
		font-size: 54px;
	}

	.nsmtb-catalog-intro {
		margin-bottom: 30px;
		font-size: 16px;
	}

	.nsmtb-family-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.nsmtb-product-results {
		grid-template-columns: 1fr;
	}

	.nsmtb-family-card {
		min-height: 145px;
		gap: 10px;
		padding: 16px;
	}

	.nsmtb-family-card strong {
		font-size: 20px;
	}

	.nsmtb-family-card span {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nsmtb-brand-card,
	.nsmtb-custom-feature > img,
	.nsmtb-main-nav a::after {
		transition: none;
	}
}

