/* Royal Collection Brands carousel */
.rc-brands {
	background: #F1ECE6;
	padding: 84px 0 100px;
	overflow: hidden;
}

.rc-brands__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 28px;
}

/* Heading */
.rc-brands__head {
	text-align: center;
	margin-bottom: 48px;
}

.rc-brands__title {
	margin: 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(38px, 4.6vw, 60px);
	font-weight: 600;
	line-height: 1.05;
	color: #51483E;
	letter-spacing: 0.01em;
}

.rc-brands__title::after {
	content: '';
	display: block;
	width: 56px;
	height: 2px;
	background: #C9B8A2;
	margin: 18px auto 0;
	border-radius: 2px;
}

/* Shell: arrows flanking the viewport */
.rc-brands__shell {
	display: flex;
	align-items: center;
	gap: 18px;
}

.rc-brands__viewport {
	flex: 1 1 auto;
	min-width: 0;
}

.rc-brands__track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 12px 4px;
	scroll-behavior: smooth;
}

.rc-brands__track::-webkit-scrollbar {
	display: none;
}

/* Card */
.rc-brands__card {
	flex: 0 0 calc((100% - (5 * 18px)) / 6);
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	text-decoration: none;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

.rc-brands__card--ph {
	cursor: default;
}

/* Circular badge */
.rc-brands__badge {
	width: 152px;
	height: 152px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #E6D9C6;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(81, 72, 62, 0.06);
	transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}

.rc-brands__card:hover .rc-brands__badge {
	transform: translateY(-5px);
	border-color: #C9B8A2;
	box-shadow: 0 14px 30px rgba(81, 72, 62, 0.1);
}

.rc-brands__logo {
	display: block;
	max-width: 68%;
	max-height: 56%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.rc-brands__mono {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 40px;
	font-weight: 600;
	color: #8A7C67;
	letter-spacing: 0.04em;
}

/* Name below badge */
.rc-brands__name {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #51483E;
	line-height: 1.3;
	max-width: 150px;
}

/* Arrows */
.rc-brands__arrow {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid #E6D9C6;
	background: #fff;
	color: #51483E;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(81, 72, 62, 0.05);
	transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.rc-brands__arrow:hover {
	background: #665748;
	border-color: #665748;
	color: #F1ECE6;
}

.rc-brands__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* Dots */
.rc-brands__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 34px;
}

.rc-brands__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid rgba(81, 72, 62, 0.4);
	background: transparent;
	cursor: pointer;
	transition: background 0.2s, width 0.2s, border-color 0.2s;
}

.rc-brands__dot.is-active {
	background: #884D57;
	border-color: #884D57;
	width: 24px;
}

/* Focus visibility */
.rc-brands :focus-visible {
	outline: 2px solid #884D57;
	outline-offset: 2px;
}

/* Tablet */
@media (max-width: 999px) and (min-width: 768px) {
	.rc-brands__card {
		flex-basis: calc((100% - (4 * 18px)) / 5);
	}
	.rc-brands__badge {
		width: 132px;
		height: 132px;
	}
	.rc-brands__mono {
		font-size: 34px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.rc-brands {
		padding: 60px 0 72px;
	}
	.rc-brands__inner {
		padding: 0 18px;
	}
	.rc-brands__head {
		margin-bottom: 34px;
	}
	.rc-brands__shell {
		gap: 8px;
	}
	.rc-brands__track {
		gap: 14px;
	}
	.rc-brands__card {
		flex-basis: calc((100% - (2 * 14px)) / 3);
		gap: 10px;
	}
	.rc-brands__badge {
		width: 96px;
		height: 96px;
	}
	.rc-brands__mono {
		font-size: 26px;
	}
	.rc-brands__name {
		font-size: 11px;
		max-width: 96px;
	}
	.rc-brands__arrow {
		width: 40px;
		height: 40px;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.rc-brands__track {
		scroll-behavior: auto;
	}
	.rc-brands__badge {
		transition: none;
	}
}

/* Mobile — swipe navigation without arrows */
@media (max-width: 767px) {
    .rc-brands__arrow {
        display: none !important;
    }

    .rc-brands__track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .rc-brands__track::-webkit-scrollbar {
        display: none;
    }
}


/* RC Brands — mobile touch scrolling */
@media (max-width: 767px) {
    .rc-brands__arrow {
        display: none !important;
    }

    .rc-brands__track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .rc-brands__track::-webkit-scrollbar {
        display: none;
    }
}
