/* Toy Finder · Textos de categoría (intro, pie, cómo funcionan las reservas y FAQ) */

.tf-cat-intro {
	max-width: 68ch;
	margin: 6px 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.72);
}

.tf-cat-intro p {
	margin: 0 0 8px;
}

.tf-cat-intro p:last-child {
	margin-bottom: 0;
}

.tf-cat-intro a,
.tf-cat-pie a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tf-cat-intro a:hover,
.tf-cat-pie a:hover {
	color: #b26200;
}

.tf-cat-intro a:focus-visible,
.tf-cat-pie a:focus-visible,
.tf-faq__item > summary:focus-visible {
	outline: 2px solid #111;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Texto al pie */
.tf-cat-pie {
	clear: both;
	max-width: 72ch;
	margin: 48px 0 16px;
	padding-top: 32px;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 15px;
	line-height: 1.65;
	color: rgba(0, 0, 0, 0.78);
	scroll-margin-top: 120px;
}

.tf-cat-pie h2 {
	margin: 28px 0 10px;
	font-size: 20px;
	line-height: 1.3;
	color: #111;
}

.tf-cat-pie h2:first-child {
	margin-top: 0;
}

.tf-cat-pie p {
	margin: 0 0 12px;
}

/* Reservas: pasos */
.tf-reservas-pasos {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	counter-reset: tf-paso;
}

.tf-reservas-pasos li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 40px;
	counter-increment: tf-paso;
}

.tf-reservas-pasos li::before {
	content: counter(tf-paso);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff7ea;
	border: 1px solid #b26200;
	color: #8a4b00;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.tf-reservas-pasos strong {
	display: block;
	color: #111;
}

.tf-reservas-garaje {
	margin-bottom: 28px;
}

/* Preguntas frecuentes */
.tf-faq {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tf-faq__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.tf-faq__item > summary {
	position: relative;
	padding: 14px 32px 14px 0;
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	color: #111;
	-webkit-tap-highlight-color: transparent;
}

.tf-faq__item > summary::-webkit-details-marker {
	display: none;
}

.tf-faq__item > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.tf-faq__item[open] > summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

.tf-faq__item > p {
	margin: 0 0 16px;
}

@media (max-width: 600px) {
	.tf-cat-intro {
		font-size: 14px;
	}

	.tf-cat-pie {
		margin-top: 32px;
		padding-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tf-faq__item > summary::after {
		transition: none;
	}
}
