/*
Theme Name: Afinia Label
Theme URI: https://afinia-label.stmpro.es
Author: STM PRO
Author URI: https://www.stmpro.es
Description: Tema personalizado para el catálogo de equipos Afinia Label (impresoras, prensas, acabadores, aplicadoras y accesorios), con estilo visual inspirado en plantillas.stmpro.es.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afinia-label
*/

/* -------------------------------------------------------------------- */
/* 1. Variables y reset                                                  */
/* -------------------------------------------------------------------- */

:root {
	--color-primary: #e6392c;
	--color-primary-dark: #c22a1f;
	--color-dark: #14171f;
	--color-dark-2: #1b202b;
	--color-dark-border: #2c3140;
	--color-light: #f4f5f7;
	--color-light-2: #eceef1;
	--color-border: #e3e5ea;
	--color-text: #191c22;
	--color-text-muted: #666c78;
	--color-text-on-dark: #c8cbd4;
	--font-display: 'Sora', 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--radius-pill: 999px;
	--radius-card: 16px;
	--radius-sm: 10px;
	--wrap: 1200px;
	--wrap-narrow: 780px;
	--shadow-card: 0 10px 30px -12px rgba(20, 23, 31, 0.18);
	--header-h: 72px;
	--ease: cubic-bezier(.22,.8,.24,1);
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 .5em;
	color: var(--color-text);
}

p { margin: 0 0 1em; }

button { font-family: inherit; cursor: pointer; }

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.wrap--narrow {
	max-width: var(--wrap-narrow);
}

.section { padding: 88px 0; }

@media (max-width: 782px) {
	.section { padding: 56px 0; }
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 16px;
}

.eyebrow--dark { color: var(--color-primary); }

.eyebrow--link:hover { text-decoration: underline; }

.section__title {
	font-size: clamp(28px, 4vw, 40px);
	max-width: 720px;
}

.section__subtitle {
	color: var(--color-text-muted);
	max-width: 620px;
	font-size: 17px;
}

.section__cta { margin-top: 40px; }

.text-accent { color: var(--color-primary); }

/* -------------------------------------------------------------------- */
/* 2. Botones                                                            */
/* -------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	padding: 14px 26px;
	border-radius: var(--radius-pill);
	border: 2px solid transparent;
	transition: transform .15s var(--ease-out), background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
	white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
	.btn:hover { transform: translateY(-1px); }
}

.btn--primary {
	background: var(--color-primary);
	color: #fff;
}
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--outline-light {
	background: transparent;
	border-color: rgba(255,255,255,.4);
	color: #fff;
}
.btn--outline-light:hover { border-color: #fff; }

.btn--outline-dark {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-text);
}
.btn--outline-dark:hover { border-color: var(--color-text); }

.btn--white {
	background: #fff;
	color: var(--color-primary);
}
@media (hover: hover) and (pointer: fine) {
	.btn--white:hover { box-shadow: 0 12px 28px -10px rgba(0,0,0,.35); }
}

.btn--small { padding: 10px 20px; font-size: 14px; }

/* -------------------------------------------------------------------- */
/* 3. Cabecera                                                           */
/* -------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-primary);
	color: #fff;
	transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
	box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
	background: rgba(230, 57, 44, .97);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: 20px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
}
.brand__logo {
	display: block;
	width: 64px;
	height: auto;
	filter: brightness(0) invert(1);
	transition: transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
	.brand:hover .brand__logo { transform: scale(1.05); }
}
.brand__pro {
	font-family: var(--font-display);
	font-weight: 200;
	font-size: 1.2rem;
	letter-spacing: .02em;
	line-height: 1;
	transform: translateY(-1px);
}

.brand__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
	margin-right: auto;
	padding-left: 14px;
	border-left: 1px solid rgba(255,255,255,.3);
}
@media (hover: hover) and (pointer: fine) {
	.brand__phone:hover { opacity: .85; }
}
@media (max-width: 640px) {
	.brand__phone { display: none; }
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav__list {
	display: flex;
	gap: 28px;
}
.nav__list a {
	position: relative;
	font-weight: 600;
	font-size: 15px;
	padding: 6px 0;
}
.nav__list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
	.nav__list a:hover::after,
	.nav__list a:focus-visible::after { transform: scaleX(1); }
}

.nav-toggle {
	display: none;
	background: rgba(0,0,0,.18);
	border: 0;
	border-radius: 10px;
	width: 44px;
	height: 44px;
	color: #fff;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	margin: auto;
	transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: grid; place-items: center; }
	.nav {
		position: absolute;
		left: 0;
		right: 0;
		top: var(--header-h);
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		background: var(--color-primary);
		padding: 20px 20px 28px;
		box-shadow: 0 20px 30px -16px rgba(0,0,0,.4);
		clip-path: inset(0 0 100%);
		visibility: hidden;
		transition: clip-path .4s var(--ease), visibility .4s;
	}
	.nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
	.nav__list { flex-direction: column; gap: 4px; }
	.nav__list a { display: block; padding: 11px 0; font-size: 17px; }
	.nav .btn { justify-content: center; }
}

/* -------------------------------------------------------------------- */
/* 4. Hero (portada)                                                     */
/* -------------------------------------------------------------------- */

.hero {
	background:
		radial-gradient(1100px 500px at 85% -10%, rgba(230,57,44,.35), transparent 60%),
		linear-gradient(180deg, var(--color-dark) 0%, #0d0f15 100%);
	color: #fff;
	padding-top: 88px;
	padding-bottom: 0;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
	padding-bottom: 64px;
}

.hero__title {
	color: #fff;
	font-size: clamp(34px, 5vw, 54px);
	margin-bottom: 22px;
}

.hero__subtitle {
	color: var(--color-text-on-dark);
	font-size: 18px;
	max-width: 520px;
	margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.hero__gallery img {
	width: 100%;
	background: #fff;
	border-radius: 16px;
	padding: 16px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	box-shadow: var(--shadow-card);
	transition: transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.hero__gallery img:hover { transform: translateY(-4px); }
}

.hero__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	border-top: 1px solid var(--color-dark-border);
	padding: 20px 24px;
	font-size: 13.5px;
	color: var(--color-text-on-dark);
}
.hero__stats-dot { color: var(--color-primary); }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; text-align: left; }
	.hero__gallery { order: -1; max-width: 380px; margin: 0 auto; }
}
@media (max-width: 480px) {
	.hero__gallery { grid-template-columns: repeat(2, 1fr); max-width: 300px; }
}

/* -------------------------------------------------------------------- */
/* 5. Pasos ("cómo funciona")                                            */
/* -------------------------------------------------------------------- */

.steps-section { background: #fff; }

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 56px;
	position: relative;
}

.steps::before {
	content: '';
	position: absolute;
	top: 26px;
	left: 12%;
	right: 12%;
	height: 2px;
	background-image: linear-gradient(to right, var(--color-border) 0 8px, transparent 8px 16px);
	background-size: 16px 2px;
	background-repeat: repeat-x;
	z-index: 0;
}

.step { position: relative; z-index: 1; text-align: left; }

.step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	margin-bottom: 20px;
}

.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--color-text-muted); margin: 0; }

@media (max-width: 782px) {
	.steps { grid-template-columns: 1fr; }
	.steps::before { display: none; }
}

/* -------------------------------------------------------------------- */
/* 6. Categorías                                                         */
/* -------------------------------------------------------------------- */

.categories-section { background: var(--color-light); }

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.category-card {
	background: #fff;
	border-radius: var(--radius-card);
	padding: 28px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--color-border);
	transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.category-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
}

.category-card__count {
	align-self: flex-start;
	background: var(--color-light);
	color: var(--color-text-muted);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	margin-bottom: 16px;
}

.category-card h3 { font-size: 20px; margin-bottom: 8px; }
.category-card p { color: var(--color-text-muted); font-size: 15px; flex: 1; }

.category-card__link {
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
	margin-top: 12px;
}

@media (max-width: 900px) {
	.category-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.category-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------- */
/* 7. Tarjetas de producto / rejilla                                     */
/* -------------------------------------------------------------------- */

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
}

.product-card__media {
	position: relative;
	display: block;
	background: var(--color-light);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 24px;
	transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
	.product-card:hover .product-card__media img { transform: scale(1.04); }
}

.product-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 5px 10px;
	border-radius: var(--radius-pill);
	z-index: 1;
}

.product-card__body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card__category {
	color: var(--color-primary);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: 6px;
}

.product-card__title { font-size: 18px; margin-bottom: 10px; }
.product-card__title a:hover { color: var(--color-primary); }

.product-card__features {
	color: var(--color-text-muted);
	font-size: 14px;
	margin-bottom: 16px;
	flex: 1;
}
.product-card__features li {
	position: relative;
	padding-left: 16px;
	margin-bottom: 6px;
}
.product-card__features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
}

.product-card__link {
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
}

/* -------------------------------------------------------------------- */
/* 8. Ficha de producto individual                                       */
/* -------------------------------------------------------------------- */

.product-hero { padding: 48px 0 40px; background: #fff; }

.product-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
	margin-top: 24px;
}

.product-hero__media {
	position: relative;
	background: var(--color-light);
	border-radius: var(--radius-card);
	padding: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.product-hero__media img { max-height: 460px; width: auto; margin: 0 auto; }

.product-hero__lead {
	font-size: 18px;
	color: var(--color-text-muted);
	margin-bottom: 24px;
}

.spec-list { margin-bottom: 32px; }
.spec-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 15.5px;
}
.spec-list li:first-child { border-top: 1px solid var(--color-border); }

.spec-list__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.product-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
	.product-hero__grid { grid-template-columns: 1fr; gap: 32px; }
}

.product-content .prose,
.prose { max-width: var(--wrap-narrow); margin: 0 auto; }
.prose img { border-radius: var(--radius-card); }

.related-section { background: var(--color-light); }

/* -------------------------------------------------------------------- */
/* 9. Archivo / filtros / paginación                                     */
/* -------------------------------------------------------------------- */

.page-hero {
	background: var(--color-dark);
	color: #fff;
	padding: 52px 0 40px;
}
.page-hero h1 { color: #fff; margin: 10px 0 12px; font-size: clamp(28px, 4vw, 42px); }
.page-hero__subtitle { color: var(--color-text-on-dark); max-width: 620px; margin: 0; }

.breadcrumbs {
	font-size: 13px;
	color: var(--color-text-on-dark);
}
.breadcrumbs a { color: var(--color-text-on-dark); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin: 0 4px; }

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.filter-pill {
	padding: 9px 18px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	.filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
}
.filter-pill.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 48px;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--color-border);
	font-weight: 600;
	font-size: 14px;
}
.pagination .page-numbers.current {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}
.pagination .page-numbers:hover:not(.current) { border-color: var(--color-primary); }

/* -------------------------------------------------------------------- */
/* 10. CTA de contacto                                                   */
/* -------------------------------------------------------------------- */

.cta-section {
	background: linear-gradient(120deg, var(--color-dark) 0%, #23130f 100%);
	color: #fff;
}
.cta-section__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta-section h2 { color: #fff; margin-bottom: 8px; font-size: 28px; }
.cta-section p { color: var(--color-text-on-dark); margin: 0; max-width: 480px; }

/* -------------------------------------------------------------------- */
/* 11. Formulario de contacto                                            */
/* -------------------------------------------------------------------- */

.contact-form { margin-bottom: 48px; }

.form-row { margin-bottom: 20px; }

.form-row label {
	display: block;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 15px;
	background: #fff;
	color: var(--color-text);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(230,57,44,.15);
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

.form-notice {
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	margin-bottom: 28px;
	font-weight: 600;
	font-size: 15px;
}
.form-notice--success { background: #e9f8ee; color: #1c7a3d; }
.form-notice--error { background: #fdeceb; color: #b3261e; }

/* -------------------------------------------------------------------- */
/* 12. Pie de página                                                     */
/* -------------------------------------------------------------------- */

.site-footer {
	background: var(--color-dark);
	color: rgba(255,255,255,.8);
	padding-top: 56px;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.site-footer__brand .brand--footer .brand__logo { filter: none; width: 88px; }
.site-footer__brand .brand--footer { color: #fff; }
.site-footer__brand p {
	margin-top: 16px;
	font-weight: 300;
	max-width: 22rem;
	color: rgba(255,255,255,.7);
}
.site-footer__brand p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__brand .brand__phone {
	display: inline-block;
	border-left: 0;
	padding-left: 0;
	margin-right: 0;
	font-weight: 700;
	color: #fff;
}

.site-footer__title {
	font-size: 12.8px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 16px;
}
.site-footer__nav li + li { margin-top: 8px; }
.site-footer__nav a {
	font-weight: 300;
	transition: color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
	.site-footer__nav a:hover {
		color: #fff;
		text-decoration: underline;
		text-decoration-color: var(--color-primary);
		text-underline-offset: 4px;
	}
}

.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	padding-block: 20px;
	font-size: 13.5px;
	font-weight: 300;
	color: rgba(255,255,255,.6);
}

@media (max-width: 860px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.site-footer__inner { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------- */
/* 13. Blog / genérico                                                   */
/* -------------------------------------------------------------------- */

.blog-entry {
	padding: 28px 0;
	border-bottom: 1px solid var(--color-border);
}
.blog-entry h2 { font-size: 22px; }
.blog-entry h2 a:hover { color: var(--color-primary); }

.not-found h1 { margin-bottom: 12px; }
.not-found p { color: var(--color-text-muted); margin-bottom: 28px; }

/* -------------------------------------------------------------------- */
/* 14. Movimiento: aparición al hacer scroll                             */
/* -------------------------------------------------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
[data-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		transform: none;
		transition: opacity .3s ease;
	}
	.brand__logo,
	.category-card,
	.product-card,
	.product-card__media img,
	.hero__gallery img,
	.btn {
		transition: none !important;
	}
}

/* -------------------------------------------------------------------- */
/* 15. Movimiento de texto en el hero + barra de confianza               */
/* -------------------------------------------------------------------- */

.hero-anim {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
	transition-delay: var(--d, 0s);
}
.hero-anim.is-in {
	opacity: 1;
	transform: none;
}

#hero-rotate {
	display: inline-block;
	transition: opacity .28s ease, transform .32s var(--ease-out);
}
#hero-rotate.is-swapping {
	opacity: 0;
	transform: translateY(10px);
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	border-top: 1px solid var(--color-dark-border);
	padding: 20px 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-on-dark);
}
.hero__trust span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.hero-anim {
		transform: none;
		transition: opacity .3s ease;
	}
	#hero-rotate {
		transition: none;
	}
}
