
@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Regular.ttf") format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Regular Oblique.ttf") format('truetype');
	font-weight: 400;
	font-style: oblique;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Medium.ttf") format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Medium Italic.ttf") format('truetype');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Bold.ttf") format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Bold Oblique.ttf") format('truetype');
	font-weight: 700;
	font-style: oblique;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Heavy.ttf") format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Heavy Italic.ttf") format('truetype');
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Black.ttf") format('truetype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Eurostile';
	src: url("../fonts/Eurostyle/Eurostile Black Italic.ttf") format('truetype');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

:root {

	--euro-family: 'Eurostile', sans-serif;

	--euro-weight-regular: 400;
	--euro-weight-medium: 500;
	--euro-weight-bold: 700;
	--euro-weight-heavy: 800;
	--euro-weight-black: 900;

	--fs-xxl: 2rem;   /* very large headings */
	--fs-xl: 1.5rem;  /* large headings */
	--fs-lg: 1.25rem; /* section headings */
	--fs-md: 1rem;    /* body / description text */
	--fs-sm: 0.875rem;/* small captions */
	--fs-xs: 0.75rem; /* extra small */

	--lh-xxl: 1.1;
	--lh-xl: 1.15;
	--lh-lg: 1.2;
	--lh-md: 1.4;
	--lh-sm: 1.3;
	--lh-xs: 1.2;
}

:root {
	--font-euro-regular-family: var(--euro-family);
	--font-euro-regular-weight: var(--euro-weight-regular);

	--font-euro-medium-family: var(--euro-family);
	--font-euro-medium-weight: var(--euro-weight-medium);

	--font-euro-bold-family: var(--euro-family);
	--font-euro-bold-weight: var(--euro-weight-bold);

	--font-euro-heavy-family: var(--euro-family);
	--font-euro-heavy-weight: var(--euro-weight-heavy);

	--font-euro-black-family: var(--euro-family);
	--font-euro-black-weight: var(--euro-weight-black);
}

html, body {
	margin: 0;
	padding: 0;
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: var(--fs-md);
	line-height: var(--lh-md);
	color: #111;
}

h1 { font-weight: var(--euro-weight-bold); font-size: var(--fs-xxl); line-height: var(--lh-xxl); margin: 0 0 0.5rem 0; }
h2 { font-weight: var(--euro-weight-bold); font-size: var(--fs-xl);  line-height: var(--lh-xl);  margin: 0 0 0.5rem 0; }
h3 { font-weight: var(--euro-weight-bold); font-size: var(--fs-lg);  line-height: var(--lh-lg);  margin: 0 0 0.5rem 0; }
h4 { font-weight: var(--euro-weight-medium); font-size: var(--fs-md); line-height: var(--lh-md); margin: 0 0 0.5rem 0; }
h5 { font-weight: var(--euro-weight-medium); font-size: var(--fs-sm); line-height: var(--lh-sm); margin: 0 0 0.5rem 0; }
h6 { font-weight: var(--euro-weight-medium); font-size: var(--fs-xs); line-height: var(--lh-xs); margin: 0 0 0.5rem 0; }

.euro-regular { font-family: var(--font-euro-regular-family); font-weight: var(--font-euro-regular-weight); }
.euro-medium  { font-family: var(--font-euro-medium-family);  font-weight: var(--font-euro-medium-weight); }
.euro-bold    { font-family: var(--font-euro-bold-family);    font-weight: var(--font-euro-bold-weight); }
.euro-heavy   { font-family: var(--font-euro-heavy-family);   font-weight: var(--font-euro-heavy-weight); }
.euro-black   { font-family: var(--font-euro-black-family);   font-weight: var(--font-euro-black-weight); }

.text-xxl { font-size: var(--fs-xxl); line-height: var(--lh-xxl); }
.text-xl  { font-size: var(--fs-xl);  line-height: var(--lh-xl); }
.text-lg  { font-size: var(--fs-lg);  line-height: var(--lh-lg); }
.text-md  { font-size: var(--fs-md);  line-height: var(--lh-md); }
.text-sm  { font-size: var(--fs-sm);  line-height: var(--lh-sm); }
.text-xs  { font-size: var(--fs-xs);  line-height: var(--lh-xs); }

.logo img { display: block; width: 160px; max-width: 100%; height: auto; }

:root {

	--color-bg-dark: #0B1117;
	--color-bg-dark-alt: #161A20;
	--color-text-light: #ffffff;
	--color-text-muted: #a0a0a0;
	--color-accent-red: #DF1414;
	--color-accent-red-hover: #c01010;

	--max-width-container: 1300px;
	--navbar-height: 70px;

	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 1.5rem;
	--spacing-lg: 2rem;
	--spacing-xl: 3rem;
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-light);
	background-color: var(--color-bg-dark);
	background-image: url('../img/bg-pattern.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	overflow-x: hidden;
}

h1 { 
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 3.25rem;
	line-height: 1.1;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

h2 { 
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 2.25rem;
	line-height: 1.2;
	margin: 0 0 1rem 0;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

h3 { 
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0 0 0.75rem 0;
}

h4 { 
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 1.25rem;
	line-height: 1.4;
	margin: 0 0 0.5rem 0;
}

p {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 1rem 0;
}

a {
	color: var(--color-text-light);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--color-accent-red);
}

a:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

.contenedor {
	max-width: var(--max-width-container);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--color-bg-dark-alt);
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--spacing-lg);
	height: var(--navbar-height);
}

nav .logo {
	flex: 1;
	display: flex;
	align-items: center;
}

nav > ul:nth-of-type(1) {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--spacing-lg);
	flex: 0 0 auto;
	justify-content: center;
}

nav > ul:nth-of-type(1) li {
	margin: 0;
}

nav > ul:nth-of-type(1) a {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 1rem;
	padding: var(--spacing-xs) var(--spacing-sm);
	display: block;
	transition: color 0.2s ease;
}

nav > ul:nth-of-type(1) a:hover {
	color: var(--color-accent-red);
}

nav > ul:nth-of-type(1) a:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

nav > ul:nth-of-type(2) {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: var(--spacing-md);
	align-items: center;
	flex: 1;
	justify-content: flex-end;
}

nav > ul:nth-of-type(2) li {
	margin: 0;
}

nav > ul:nth-of-type(2) li:first-child {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	padding: 0.375rem 0.75rem;
	transition: border-color 0.2s ease;
}

nav > ul:nth-of-type(2) li:first-child:focus-within {
	border-color: var(--color-accent-red);
}

nav a[title="Buscar"] {
	width: 20px;
	height: 20px;
	background-image: url('../img/icon/search_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
	flex-shrink: 0;
}

nav a[title="Buscar"]:hover {
	opacity: 0.7;
}

nav input[type="search"],
nav input.search-input {
	background-color: transparent;
	border: none;
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 0.875rem;
	width: 180px;
	padding: 0;
	outline: none;
}

nav input[type="search"]::placeholder,
nav input.search-input::placeholder {
	color: var(--color-text-muted);
}

nav a[title="Favoritos"] {
	width: 24px;
	height: 24px;
	background-image: url('../img/icon/favorite_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

nav a[title="Favoritos"]:hover {
	opacity: 1;
	filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

nav a[title="Carrito de compras"] {
	width: 24px;
	height: 24px;
	background-image: url('../img/icon/shopping-cart-01_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
	position: relative;
}

nav a[title="Carrito de compras"]::after {
	content: '2';
	position: absolute;
	top: -6px;
	right: -6px;
	background-color: var(--color-accent-red);
	color: white;
	font-size: 0.65rem;
	font-weight: var(--euro-weight-black);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--color-bg-dark-alt);
	text-indent: 0;
	line-height: 1;
}

nav a[title="Carrito de compras"]:hover {
	opacity: 0.7;
}

.main {
	margin-top: calc(var(--navbar-height) + var(--spacing-lg));
	padding: var(--spacing-lg);
	max-width: var(--max-width-container);
	margin-left: auto;
	margin-right: auto;
}

.main > h1 {
	text-align: center;
	margin-bottom: var(--spacing-md);
}

.main > .knowhere-brand-image {
	display: block;
	max-width: 300px;
	height: auto;
	margin: 0 auto var(--spacing-md);
}

.main > h1 + p {
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: var(--spacing-xl);
}

.hero-intro {
	position: relative;
	width: 100%;
	height: 500px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('../img/portada_1.jpg');
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-xl);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-intro video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
	transform: none !important;
	animation: none !important;
}

.hero-intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1;
}

.hero-intro > * {
	position: relative;
	z-index: 2;
}

.hero-intro figure {
	display: none;
}

.hero-slide-mode video {
	opacity: 0;
	pointer-events: none;
}

.hero-intro h1,
.hero-intro p {
	color: var(--color-text-light);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-intro a {
	display: inline-block;
	padding: var(--spacing-sm) var(--spacing-lg);
	background-color: var(--color-accent-red);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-style: italic;
	border-radius: 4px;
	margin-top: var(--spacing-md);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-intro a:hover {
	background-color: var(--color-accent-red-hover);
	box-shadow: 0 4px 8px rgba(223, 20, 20, 0.4);
}

.hero-intro a:focus-visible {
	outline: 2px solid var(--color-text-light);
	outline-offset: 2px;
}

.hero-intro.slide-1 {
	background-image: url('../img/portada_1.webp');
}

.hero-intro.slide-2 {
	background-image: url('../img/portada_2.webp');
}

.hero-intro {
	transition: background-image 0.6s ease-in-out;
	animation: slideTransition 0.6s ease-in-out;
}

@keyframes slideTransition {
	0% {
		transform: translateX(100%);
		opacity: 0.8;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-control-left,
.hero-control-right {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 3;
	transition: background-color 0.3s ease;
	opacity: 0;
}

.hero-control-left {
	left: 0;
}

.hero-control-right {
	right: 0;
}

.hero-intro:hover .hero-control-left,
.hero-intro:hover .hero-control-right {
	opacity: 1;
}

.hero-control-left:hover {
	background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.hero-control-right:hover {
	background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent);
}

.hero-control-left::before {
	content: '‹';
	font-size: 3rem;
	color: white;
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-control-right::before {
	content: '›';
	font-size: 3rem;
	color: white;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-control-left:focus-visible,
.hero-control-right:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: -4px;
}

.comics-destacados,
.figuras-destacadas,
section.comics-destacados,
section.figuras-destacadas {
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-xl);
	border-radius: 8px;
}

.comics-destacados h2,
.figuras-destacadas h2 {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	width: 100%;
}

.comics-destacados .comics,
.figuras-destacadas .figuras,
.comics,
.figuras {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-lg);
	justify-content: flex-start;
}

.comics-destacados .producto,
.figuras-destacadas .producto,
.comics .producto,
.figuras .producto {
	flex: 0 1 calc(33.333% - var(--spacing-lg));
	background-color: var(--color-bg-dark-alt);
	border-radius: 8px;
	padding: var(--spacing-lg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comics-destacados .producto:hover,
.figuras-destacadas .producto:hover,
.comics .producto:hover,
.figuras .producto:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.servicios {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-xl);
	border-radius: 8px;
}

.servicios h2 {
	width: 100%;
	text-align: center;
}

.servicios article {
	flex: 1 1 calc(33.333% - var(--spacing-lg));
	padding: var(--spacing-lg);
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-sm);
}

.servicios article:nth-child(2) {
	animation-delay: unset;
}

.servicios article:nth-child(3) {
	animation-delay: unset;
}

.servicios article:nth-child(4) {
	animation-delay: unset;
}

.article-servicios-1 {
	background-color: #ff35a4 !important;
	color: var(--color-bg-dark);
}

.article-servicios-1 h3,
.article-servicios-1 p {
	color: var(--color-bg-dark);
}

.article-servicios-2 {
	background-color: #caff38 !important;
	color: var(--color-bg-dark);
}

.article-servicios-2 h3,
.article-servicios-2 p {
	color: var(--color-bg-dark);
}

.article-servicios-3 {
	background-color: #a16fff !important;
	color: var(--color-bg-dark);
}

.article-servicios-3 h3,
.article-servicios-3 p {
	color: var(--color-bg-dark);
}

.article-servicios-1 {
	background-color: #7917c7;
	color: var(--color-bg-dark);
}

.article-servicios-1 h3,
.article-servicios-1 p {
	color: var(--color-bg-dark);
}

.article-servicios-2 {
	background-color: #e1cd00;
	color: var(--color-bg-dark);
}

.article-servicios-2 h3,
.article-servicios-2 p {
	color: var(--color-bg-dark);
}

.article-servicios-3 {
	background-color: #213fc9;
	color: var(--color-bg-dark);
}

.article-servicios-3 h3,
.article-servicios-3 p {
	color: var(--color-bg-dark);
}

.servicios article h3 {
	font-size: 1.15rem;
	margin-bottom: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.servicios-icono {
	display: block;
	font-size: 3rem;
	line-height: 1;
}

.categorias {
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-lg);
	background-color: var(--color-bg-dark-alt);
	/* Comic panel outer border: thick red stroke with inner dark fill */
	border: 3px solid var(--color-accent-red);
	clip-path: polygon(
		0% 0%,
		calc(100% - 18px) 0%,
		100% 18px,
		100% 100%,
		18px 100%,
		0% calc(100% - 18px)
	);
	/* Subtle halftone dot background */
	background-image:
		radial-gradient(circle, rgba(223,20,20,0.08) 1px, transparent 1px);
	background-size: 18px 18px;
}

.categorias h2 {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	width: 100%;
}

.categorias {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	gap: var(--spacing-md);
}

.categorias h2 {
	grid-column: 1 / -1;
	/* Comic-style title bar */
	background: var(--color-accent-red);
	color: var(--color-text-light);
	padding: 8px 20px;
	clip-path: polygon(
		0% 0%,
		100% 0%,
		100% 60%,
		calc(100% - 12px) 100%,
		12px 100%,
		0% 60%
	);
	letter-spacing: 0.12em;
	font-size: 1.1rem;
	margin-bottom: var(--spacing-sm);
}

.categorias details {
	margin-bottom: 0;
	background-color: var(--color-bg-dark);
	padding: var(--spacing-sm);
	/* Angled top-right corner cut — comic panel feel */
	clip-path: polygon(
		0% 0%,
		calc(100% - 12px) 0%,
		100% 12px,
		100% 100%,
		0% 100%
	);
	border-left: 3px solid transparent;
	transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}

.categorias details::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: var(--color-accent-red);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.categorias details[open] {
	border-color: transparent;
	background-color: rgba(223, 20, 20, 0.07);
	box-shadow: inset 0 0 0 1px rgba(223,20,20,0.25), 0 0 14px rgba(223,20,20,0.25);
}

.categorias details[open]::before {
	opacity: 1;
}

.categorias summary {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 1.05rem;
	cursor: pointer;
	padding: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}

/* Replace native triangle with a custom ▶ marker */
.categorias summary::-webkit-details-marker { display: none; }
.categorias summary::marker { content: ''; }

.categorias summary::before {
	content: '▶';
	font-size: 0.55em;
	color: var(--color-accent-red);
	transition: transform 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

.categorias details[open] > summary::before {
	transform: rotate(90deg);
}

.categorias summary:hover {
	color: var(--color-accent-red);
}

.categorias summary:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

.categorias ul {
	list-style: none;
	padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs) var(--spacing-lg);
	margin-top: var(--spacing-xs);
	margin-bottom: 0;
	border-top: 1px solid rgba(223,20,20,0.18);
}

.categorias li {
	margin-bottom: var(--spacing-xs);
}

.categorias a {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 0.95rem;
	paddding: 2px 0;
	transition: color 0.2s ease, padding-left 0.2s ease;
	display: block;
}

.categorias a:hover {
	color: var(--color-accent-red);
	padding-left: 6px;
}

@media (max-width: 768px) {
	.categorias {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.categorias {
		grid-template-columns: 1fr;
		clip-path: none;
		border-radius: 4px;
	}
	.categorias details {
		clip-path: none;
		border-left: 3px solid var(--color-accent-red);
	}
}

.cat-destacadas {
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-lg);
	background-color: var(--color-bg-dark-alt);
	border-radius: 8px;
}

.cat-destacadas h2 {
	text-align: center;
	margin-bottom: var(--spacing-lg);
	width: 100%;
}

.cat-destacadas h3 {
	color: var(--color-accent-red);
	font-size: 1.25rem;
	margin-top: var(--spacing-lg);
	margin-bottom: var(--spacing-sm);
}

.cat-destacadas ul {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--spacing-md) 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--spacing-sm);
}

.cat-destacadas li {
	margin-bottom: 0;
}

.cat-destacadas a {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 1rem;
	display: block;
	padding: var(--spacing-sm);
	background-color: var(--color-bg-dark);
	border-radius: 4px;
	border: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cat-destacadas a:hover {
	color: var(--color-accent-red);
	border-color: var(--color-accent-red);
	background-color: rgba(223, 20, 20, 0.05);
}

.cat-destacadas a:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

.catalogo {
	margin-bottom: var(--spacing-xl);
}

.catalogo h2 {
	text-align: center;
	margin-bottom: var(--spacing-lg);
}

.catalogo {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-lg);
	justify-content: flex-start;
}

.catalogo > h2 {
	width: 100%;
}

.producto {
	flex: 0 1 calc(33.333% - var(--spacing-lg));
	background-color: var(--color-bg-dark-alt);
	border-radius: 8px;
	padding: var(--spacing-lg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto:nth-child(2) {
	animation-delay: unset;
}

.producto:nth-child(3) {
	animation-delay: unset;
}

.producto:nth-child(4) {
	animation-delay: unset;
}

.producto:nth-child(5) {
	animation-delay: unset;
}

.producto:nth-child(6) {
	animation-delay: unset;
}

.producto:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.producto article {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.producto h3,
.nombre-producto {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1.5rem;
	margin-bottom: var(--spacing-md);
	order: 1;
}

.producto figure {
	margin: 0;
	order: 2;
	margin-bottom: var(--spacing-md);
}

.producto figure img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 4px;
}

.producto figcaption {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-top: var(--spacing-xs);
	text-align: center;
}

.producto p {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: var(--spacing-md);
	order: 3;
	flex-grow: 1;
}

.producto p strong:first-child {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
}

.producto p:has(data) strong,
.producto p:has(data[value]) strong {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
}

.producto data,
.producto data[value] {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1.125rem;
}

.producto p strong:last-child {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-style: oblique;
}

.producto ul {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--spacing-md) 0;
	order: 4;
}

.producto ul li {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 0.875rem;
	margin-bottom: var(--spacing-xs);
}

.producto article {
	display: flex;
	flex-direction: column;
}

.producto button {
	margin-top: auto;
}

.producto article > button,
.producto article > button:last-child {
	order: 5;
}

.btn-cta,
.producto button[type="button"]:not(:last-child),
button[type="button"]:not(.producto button:last-child) {
	background-color: var(--color-accent-red);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-style: italic;
	font-size: 1.125rem;
	padding: var(--spacing-sm) var(--spacing-lg);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transform: skewX(-12deg);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: var(--spacing-sm);
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
}

.btn-cta span,
.producto button[type="button"]:not(:last-child) span {
	display: inline-block;
	transform: skewX(12deg);
}

.producto button[type="button"]:not(:last-child):not(:has(span)) {
	text-transform: uppercase;
}

.btn-cta:hover,
.producto button[type="button"]:not(:last-child):hover {
	background-color: var(--color-accent-red-hover);
	box-shadow: 0 4px 12px rgba(223, 20, 20, 0.5);
}

.btn-cta:focus-visible,
.producto button[type="button"]:not(:last-child):focus-visible {
	outline: 2px solid var(--color-text-light);
	outline-offset: 2px;
}

.producto article {
	display: flex;
	flex-direction: column;
}

.producto .button-group,
.producto article > div:has(button) {
	display: flex;
	gap: var(--spacing-sm);
	justify-content: center;
	align-items: center;
	margin-top: auto;
	order: 10;
	padding: var(--spacing-sm) 0;
}

.producto button[type="button"]:last-child,
.producto .btn-fav {
	width: 48px;
	height: 48px;
	background-color: transparent;
	background-image: url('../img/icon/favorite_icon.svg');
	background-size: 24px 24px;
	background-position: center;
	background-repeat: no-repeat;
	border: 2px solid var(--color-text-light);
	border-radius: 4px;
	cursor: pointer;
	text-indent: -9999px;
	overflow: hidden;
	transition: all 0.3s ease;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.producto button[type="button"]:last-child:hover,
.producto .btn-fav:hover {
	background-color: rgba(255, 215, 0, 0.2);
	border-color: #FFD700;
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
	transform: scale(1.05);
}

.producto button[type="button"]:last-child:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

aside {
	background-color: var(--color-bg-dark-alt);
	padding: var(--spacing-lg);
	border-radius: 8px;
	margin-bottom: var(--spacing-xl);
}

aside h2 {
	font-size: 1.5rem;
	margin-bottom: var(--spacing-md);
}

aside ul {
	list-style: disc;
	padding-left: var(--spacing-lg);
}

aside li {
	margin-bottom: var(--spacing-xs);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
}

aside strong {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
}

.guia-grading,
aside.guia-estados {
	background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-dark-alt) 100%);
	border: 3px solid var(--color-accent-red);
	border-radius: 12px;
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-xl);
	position: relative;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.guia-grading::before,
aside.guia-estados::before {
	content: '';
	position: absolute;
	top: -3px;
	left: -3px;
	right: -3px;
	bottom: -3px;
	background: linear-gradient(45deg, var(--color-accent-red), #FFD700, var(--color-accent-red));
	border-radius: 12px;
	z-index: -1;
	opacity: 0.3;
	filter: blur(8px);
}

.guia-grading h2,
aside.guia-estados h2 {
	color: var(--color-text-light);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	font-size: 1.75rem;
	margin-bottom: var(--spacing-lg);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 2px solid var(--color-accent-red);
	padding-bottom: var(--spacing-sm);
}

.guia-grading ul,
aside.guia-estados ul {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--spacing-md);
}

.guia-grading li,
aside.guia-estados li {
	background-image: url('../img/bg-pattern.webp'), linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
	background-size: cover, 100%;
	background-position: center;
	background-blend-mode: overlay;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: var(--spacing-md);
	transition: transform 0.2s ease, border-color 0.2s ease;
	position: relative;
	overflow: hidden;
}

.guia-grading li::before,
aside.guia-estados li::before {
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.6;
}

.guia-grading li.estado-near-mint::before,
aside.guia-estados li:has(strong:contains("Near Mint"))::before,
.estado-near-mint::before {
	background-image: url('../img/icon/star-near-mint.svg');
}

.guia-grading li.estado-mint::before,
aside.guia-estados li:has(strong:contains("Mint"))::before,
.estado-mint::before {
	background-image: url('../img/icon/star-mint.svg');
}

.guia-grading li.estado-very-fine::before,
aside.guia-estados li:has(strong:contains("Very Fine"))::before,
.estado-very-fine::before {
	background-image: url('../img/icon/star-very-fine.svg');
}

.guia-grading li.estado-original::before,
aside.guia-estados li:has(strong:contains("Original"))::before,
.estado-original::before {
	background-image: url('../img/icon/star-original.svg');
}

.guia-grading li:hover,
aside.guia-estados li:hover {
	transform: translateY(-2px);
	border-color: var(--color-accent-red);
}

.guia-grading strong,
aside.guia-estados strong {
	display: block;
	color: #FFD700;
	font-size: 1.1rem;
	margin-bottom: var(--spacing-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tips-conserva,
aside.tips-conserva {
	background-color: var(--color-bg-dark-alt);
	padding: var(--spacing-xl);
	border-radius: 8px;
	margin-bottom: var(--spacing-xl);
}

.tips-conserva h2 {
	text-align: center;
	margin-bottom: var(--spacing-xl);
	width: 100%;
}

.tips-conserva-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-xl);
}

.tips-figuras {
	background-color: rgba(223, 20, 20, 0.25);
	padding: var(--spacing-lg);
	border-radius: 8px;
	border: 2px solid rgba(223, 20, 20, 0.4);
}

.tips-comics {
	background-color: rgba(255, 215, 0, 0.25);
	padding: var(--spacing-lg);
	border-radius: 8px;
	border: 2px solid rgba(255, 215, 0, 0.4);
}

.tips-figuras h3,
.tips-comics h3 {
	color: var(--color-accent-red);
	font-size: 1.5rem;
	margin-bottom: var(--spacing-md);
}

.tips-figuras ul,
.tips-comics ul {
	list-style: disc;
	padding-left: var(--spacing-lg);
	margin: 0;
}

.tips-figuras li,
.tips-comics li {
	margin-bottom: var(--spacing-xs);
	line-height: 1.6;
}

footer,
.footer {
	background-color: var(--color-bg-dark-alt);
	padding: var(--spacing-xl) var(--spacing-lg);
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-xl);
	justify-content: space-between;
	font-size: 0.875rem;
}

footer > div,
.footer > div {
	flex: 1 1 250px;
}

footer h2,
footer h3,
.footer h2,
.footer h3 {
	font-size: 1.125rem;
	margin-bottom: var(--spacing-sm);
}

footer ul,
.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

footer li,
.footer li {
	margin-bottom: var(--spacing-xs);
}

footer a,
.footer a {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	transition: color 0.2s ease;
}

footer a:hover,
.footer a:hover {
	color: var(--color-accent-red);
}

footer a:focus-visible,
.footer a:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

footer small,
.footer small {
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

footer a[href*="instagram"],
.footer a[href*="instagram"] {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url('../img/icon/ig_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

footer a[href*="instagram"]:hover,
.footer a[href*="instagram"]:hover {
	opacity: 0.7;
}

.footer-redes {
	display: flex;
	gap: var(--spacing-md);
	flex-wrap: wrap;
	align-items: center;
	padding: 0;
	margin: 0;
}

.footer-redes li {
	margin-bottom: 0;
}

.btn-wa {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 56px;
	height: 56px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	text-decoration: none;
	color: transparent;
}

.btn-wa:hover {
	background-color: #1ebe59;
	box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.28), 0 6px 22px rgba(37, 211, 102, 0.65);
	transform: scale(1.1);
	color: transparent;
}

.btn-wa:focus-visible {
	outline: 3px solid #25D366;
	outline-offset: 4px;
}

.btn-wa svg {
	width: 30px;
	height: 30px;
	fill: #ffffff;
	display: block;
}

footer a[href*="tiktok"],
.footer a[href*="tiktok"] {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url('../img/icon/tiktok_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

footer a[href*="tiktok"]:hover,
.footer a[href*="tiktok"]:hover {
	opacity: 0.7;
}

footer a[href*="twitter"],
footer a[href*="x.com"],
.footer a[href*="twitter"],
.footer a[href*="x.com"] {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-image: url('../img/icon/twitter_icon.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity 0.2s ease;
}

footer a[href*="twitter"]:hover,
footer a[href*="x.com"]:hover,
.footer a[href*="twitter"]:hover,
.footer a[href*="x.com"]:hover {
	opacity: 0.7;
}

form {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

label {
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 0.875rem;
}

input[type="email"],
input[type="text"] {
	padding: var(--spacing-sm);
	border: 1px solid var(--color-text-muted);
	border-radius: 4px;
	background-color: var(--color-bg-dark);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-regular);
	font-size: 1rem;
}

input[type="email"]:focus,
input[type="text"]:focus {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

form button[type="submit"] {
	background-color: var(--color-accent-red);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1rem;
	padding: var(--spacing-sm) var(--spacing-lg);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

form button[type="submit"]:hover {
	background-color: var(--color-accent-red-hover);
	box-shadow: 0 4px 8px rgba(223, 20, 20, 0.4);
}

form button[type="submit"]:focus-visible {
	outline: 2px solid var(--color-text-light);
	outline-offset: 2px;
}

*:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--color-accent-red);
	outline-offset: 2px;
}

/* =============================================
   GUÍA DE TALLES — tabla estilizada
   ============================================= */
.talles-tabla {
	width: 100%;
	border-collapse: collapse;
	margin-top: var(--spacing-md);
	font-size: 0.93rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.talles-tabla caption {
	caption-side: top;
	text-align: left;
	color: var(--color-text-muted);
	font-size: 0.78rem;
	padding-bottom: 10px;
	letter-spacing: 0.04em;
}

.talles-tabla thead tr {
	background-color: var(--color-accent-red);
	color: var(--color-text-light);
}

.talles-tabla thead th {
	padding: 14px 16px;
	text-align: center;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.talles-tabla tbody tr {
	background-color: var(--color-bg-dark-alt);
	transition: background-color 0.15s ease;
}

.talles-tabla tbody tr:nth-child(even) {
	background-color: #1d2228;
}

.talles-tabla tbody tr:hover {
	background-color: rgba(223, 20, 20, 0.1);
}

.talles-tabla th[scope="row"] {
	text-align: center;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.1em;
	color: var(--color-accent-red);
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	background-color: rgba(223, 20, 20, 0.06);
}

.talles-tabla td {
	text-align: center;
	padding: 12px 16px;
	color: var(--color-text-light);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 600px) {
	.talles-tabla thead {
		display: none;
	}

	.talles-tabla,
	.talles-tabla tbody,
	.talles-tabla tr,
	.talles-tabla td,
	.talles-tabla th[scope="row"] {
		display: block;
		width: 100%;
	}

	.talles-tabla tr {
		margin-bottom: var(--spacing-md);
		border-radius: 8px;
		overflow: hidden;
		border: 1px solid rgba(223, 20, 20, 0.2);
	}

	.talles-tabla th[scope="row"] {
		text-align: left;
		padding: 10px 14px;
		font-size: 1.05rem;
	}

	.talles-tabla td {
		text-align: right;
		padding: 9px 14px;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.talles-tabla td::before {
		content: attr(data-label);
		float: left;
		font-weight: 600;
		color: var(--color-text-muted);
		font-size: 0.82rem;
	}
}

/* =============================================
   CALIDAD Y AUTENTICIDAD — iconos en h3
   ============================================= */
.calidad-titulo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.calidad-icono {
	font-size: 1.35em;
	line-height: 1;
	flex-shrink: 0;
}

/* =============================================
   LOS MÁS COLECCIONADOS — halo dorado premium
   ============================================= */
.producto-premium {
	box-shadow:
		0 0 0 1px rgba(212, 175, 55, 0.28),
		0 0 20px 4px rgba(212, 175, 55, 0.18),
		0 4px 12px rgba(0, 0, 0, 0.5) !important;
	border: 1px solid rgba(212, 175, 55, 0.22) !important;
}

.producto-premium:hover {
	box-shadow:
		0 0 0 1px rgba(212, 175, 55, 0.45),
		0 0 32px 8px rgba(212, 175, 55, 0.28),
		0 6px 20px rgba(0, 0, 0, 0.65) !important;
	transform: translateY(-4px) !important;
}

/* =============================================
   BTN-VER-MAS — botón azul cómics
   ============================================= */
.btn-ver-mas {
	display: inline-block;
	background-color: #1255b8;
	color: #ffffff;
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 12px 32px;
	border: 2px solid #1a6de8;
	clip-path: polygon(
		0% 0%,
		calc(100% - 10px) 0%,
		100% 10px,
		100% 100%,
		10px 100%,
		0% calc(100% - 10px)
	);
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-ver-mas:hover {
	background-color: #0e43a0;
	box-shadow: 0 0 18px 4px rgba(18, 85, 184, 0.7), 0 4px 12px rgba(0,0,0,0.5);
	transform: translateY(-2px);
}

.btn-ver-mas:active {
	transform: translateY(0);
	box-shadow: 0 0 8px 2px rgba(18, 85, 184, 0.5);
}

.btn-ver-mas:focus-visible {
	outline: 2px solid #5ca3f7;
	outline-offset: 3px;
}

.ver-mas-wrap {
	margin-top: var(--spacing-lg);
	text-align: center;
}

.ver-mas-wrap p {
	margin-top: var(--spacing-sm);
	color: var(--color-text-muted);
	font-size: 0.88rem;
}

/* ================================================================
   NUESTRO-NEGOCIO — Comic-world visual layer  (scoped a .nb-page)
   Paleta: dark navy · rojo #DF1414 · blanco · muted #a0a0a0
   ================================================================ */

/* Halftone dots a nivel página */
.nb-page {
	background-image:
		radial-gradient(circle, rgba(223,20,20,0.045) 1px, transparent 1px);
	background-size: 22px 22px;
}

/* PANEL BASE — cada sección como viñeta de cómic */
.nb-section {
	background-color: var(--color-bg-dark-alt);
	border: 2px solid rgba(223,20,20,0.18);
	border-top: 4px solid var(--color-accent-red);
	border-radius: 0 0 8px 8px;
	padding: var(--spacing-xl);
	margin-bottom: var(--spacing-xl);
	position: relative;
	overflow: hidden;
}

/* Muesca esquina superior derecha — corte de panel */
.nb-section::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 26px 26px 0;
	border-color: transparent var(--color-bg-dark) transparent transparent;
	z-index: 1;
}

/* H2 de sección: barra roja con flecha derecha — cabecera de capítulo */
.nb-section > h2 {
	display: inline-block;
	background: var(--color-accent-red);
	color: var(--color-text-light);
	padding: 7px 28px 7px 14px;
	margin-bottom: var(--spacing-lg);
	clip-path: polygon(0% 0%, calc(100% - 14px) 0%, 100% 50%, calc(100% - 14px) 100%, 0% 100%);
	box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

/* ── CÓMO TRABAJAMOS: pasos con insignia hexagonal roja ── */
.nb-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: nb-step;
	display: grid;
	gap: var(--spacing-md);
}

.nb-steps > li {
	counter-increment: nb-step;
	position: relative;
	padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 72px;
	background-color: var(--color-bg-dark);
	border: 1px solid rgba(223,20,20,0.15);
	clip-path: polygon(
		0% 0%,
		100% 0%,
		100% calc(100% - 14px),
		calc(100% - 14px) 100%,
		0% 100%
	);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb-steps > li:hover {
	border-color: var(--color-accent-red);
	box-shadow: 0 0 18px rgba(223,20,20,0.18);
}

/* Hexágono numerado */
.nb-steps > li::before {
	content: counter(nb-step);
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: var(--color-accent-red);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nb-steps > li > h3 {
	color: var(--color-accent-red);
	margin-bottom: var(--spacing-xs);
	letter-spacing: 0.04em;
}

/* ── AUTENTICIDAD: artículos con corte de esquina ── */
.nb-autenticidad article {
	background-color: var(--color-bg-dark);
	border-top: 3px solid var(--color-accent-red);
	border-bottom: 1px solid rgba(223,20,20,0.12);
	padding: var(--spacing-lg);
	margin-bottom: var(--spacing-md);
	clip-path: polygon(
		0% 0%,
		calc(100% - 16px) 0%,
		100% 16px,
		100% 100%,
		0% 100%
	);
}

.nb-autenticidad article:last-child { margin-bottom: 0; }

.nb-autenticidad article > h3 {
	color: var(--color-accent-red);
	letter-spacing: 0.05em;
	margin-bottom: var(--spacing-sm);
}

.nb-autenticidad ul {
	list-style: none;
	padding: 0;
}

.nb-autenticidad ul li {
	padding-left: 22px;
	position: relative;
	margin-bottom: var(--spacing-xs);
	line-height: 1.55;
}

.nb-autenticidad ul li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--color-accent-red);
	font-size: 0.9em;
}

/* ── FAQ: bocadillo de pregunta con insignia hexagonal ── */
.nb-faq details {
	background-color: var(--color-bg-dark);
	border: 2px solid rgba(223,20,20,0.18);
	margin-bottom: var(--spacing-sm);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb-faq details[open] {
	border-color: var(--color-accent-red);
	box-shadow: 0 0 16px rgba(223,20,20,0.2);
}

.nb-faq details > summary {
	list-style: none;
	padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) 58px;
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-bold);
	font-size: 1rem;
	letter-spacing: 0.04em;
	cursor: pointer;
	background-color: rgba(223,20,20,0.07);
	border-bottom: 1px solid transparent;
	position: relative;
	transition: background-color 0.2s ease, color 0.2s ease;
	display: flex;
	align-items: center;
}

.nb-faq details[open] > summary {
	background-color: rgba(223,20,20,0.13);
	border-bottom-color: rgba(223,20,20,0.28);
}

.nb-faq details > summary::-webkit-details-marker { display: none; }
.nb-faq details > summary::marker { content: ''; }

/* Insignia hexagonal con signo */
.nb-faq details > summary::before {
	content: '?';
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	background: var(--color-accent-red);
	color: var(--color-text-light);
	font-family: var(--euro-family);
	font-weight: var(--euro-weight-black);
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nb-faq details[open] > summary::before {
	content: '!';
}

.nb-faq details > summary:hover {
	color: var(--color-accent-red);
	background-color: rgba(223,20,20,0.1);
}

.nb-faq details > p {
	padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 58px;
	margin: 0;
	line-height: 1.65;
}

/* ── VISIÓN: panel con acento diagonal izquierdo ── */
.nb-vision {
	border-left: 5px solid var(--color-accent-red) !important;
	border-radius: 0 8px 8px 0 !important;
}

.nb-vision article {
	background-color: var(--color-bg-dark);
	padding: var(--spacing-lg);
	border-top: 2px solid rgba(223,20,20,0.22);
	margin-top: var(--spacing-lg);
}

.nb-vision article > h3 {
	color: var(--color-accent-red);
}

.nb-vision article ul {
	list-style: none;
	padding: 0;
}

.nb-vision article li {
	padding: var(--spacing-xs) 0 var(--spacing-xs) 20px;
	border-bottom: 1px solid rgba(255,255,255,0.05);
	position: relative;
}

.nb-vision article li::before {
	content: '◆';
	position: absolute;
	left: 0;
	color: var(--color-accent-red);
	font-size: 0.55em;
	top: 50%;
	transform: translateY(-50%);
}

/* ── CTA: explosión tipo splash-panel ── */
.nb-cta {
	text-align: center;
	border: 3px solid var(--color-accent-red) !important;
	background: linear-gradient(
		135deg,
		var(--color-bg-dark-alt) 0%,
		rgba(223,20,20,0.07) 50%,
		var(--color-bg-dark-alt) 100%
	) !important;
}

/* Rayos de fondo tipo viñeta de acción */
.nb-cta::before {
	content: '' !important;
	border: none !important;
	width: 100% !important;
	height: 100% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	transform: none !important;
	background: repeating-conic-gradient(
		rgba(223,20,20,0.04) 0deg,
		rgba(223,20,20,0.04) 4deg,
		transparent 4deg,
		transparent 9deg
	) !important;
	pointer-events: none !important;
	border-radius: 0 !important;
}

.nb-cta > h2 {
	position: relative;
	z-index: 1;
}

.nb-cta > p {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.nb-cta .button-group {
	position: relative;
	z-index: 1;
	justify-content: center;
	gap: var(--spacing-lg);
	padding-top: var(--spacing-sm);
}

.mapa-embed {
	width: 100%;
	display: block;
	border: 0;
	border-radius: 8px;
}

.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		transition: none;
		opacity: 1;
		transform: none;
	}
}
