/* Brands Section — Razzi Child */

.rc-brands-section {
	width: 100%;
	background-color: #ffffff;
	font-family: var(--font-body);
	padding: 0 20px;
}

.rc-brands-section__container {
	max-width: var(--container-width);
	margin: 0 auto;
	width: 100%;
}

.rc-brands-section__header {
	text-align: left;
	margin-bottom: 30px;
}

.rc-brands-section__title {
	font-family: var(--font-heading);
	color: var(--color-primary);
	font-size: 1.75rem;
	font-weight: 600;
	margin: 0 0 10px;
	letter-spacing: 0.5px;
}

.rc-brands-section__subtitle {
	font-family: var(--font-body);
	color: var(--color-muted);
	font-size: 1rem;
	margin: 0;
}

.rc-brands-swiper {
	overflow: hidden;
	padding-bottom: 40px;
}

.rc-brands-swiper__grid {
	padding: 10px 0;
}

.rc-brands-swiper .swiper-slide {
	height: auto;
}

.rc-brand-card {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 30px 20px;
	text-decoration: none;
	transition: all 0.25s ease-in-out;
	height: 100%;
	box-sizing: border-box;
}

.rc-brand-card:hover {
	border-color: var(--color-secondary-accent);
	background-color: #ffffff;
	box-shadow: 0 4px 12px rgba(43, 37, 96, 0.05);
	transform: translateY(-2px);
}

.rc-brand-card__image-wrap {
	width: 100%;
	max-width: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rc-brand-card__logo {
	width: 100%;
	height: auto;
	max-height: 50px;
	object-fit: contain;
	transition: all 0.25s ease-in-out;
}

.rc-brand-card:hover .rc-brand-card__logo {
	filter: grayscale(0%);
	opacity: 1;
}

.rc-brands-swiper .swiper-pagination {
	bottom: 0;
}

.rc-brands-swiper .swiper-pagination-bullet-active {
	background: var(--color-secondary-accent);
}

@media (min-width: 769px) {
	.rc-brands-swiper {
		overflow: visible;
		padding-bottom: 0;
	}

	.rc-brands-swiper__grid {
		display: grid !important;
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 20px;
		transform: none !important;
	}

	.rc-brands-swiper .swiper-slide {
		width: auto !important;
		height: auto;
		margin: 0 !important;
	}

	.rc-brands-swiper .swiper-pagination {
		display: none;
	}
}
