/*
Theme Name: Royal Collection
Description: A child theme of blocksy, scaffolded by Studio Code.
Template: blocksy
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-collection
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* Theme link colors: brown normally, rose on hover/focus — never the
 * browser-default blue, and never a different color after a click. Explicitly
 * set so plain links match the design. Links that carry their own color via a
 * class (buttons, CTAs) still win because a class outranks the bare `a`. */
a,
a:visited {
	color: #51483E;
}
a:hover,
a:focus,
a:visited:hover,
a:visited:focus {
	color: #884D57;
}

/* Full-width hero slideshow directly under the header */
.royal-hero-slideshow {
	margin: 0 auto 56px;
	max-width: 1400px;
	padding: 0 20px;
}

.royal-hero-slideshow .wp-block-jetpack-slideshow {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 50px -22px rgba(40, 26, 16, 0.35);
}

.royal-hero-slideshow .wp-block-jetpack-slideshow img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.royal-hero-slideshow .swiper-button-prev,
.royal-hero-slideshow .swiper-button-next {
	color: #fff;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

@media (max-width: 690px) {
	.royal-hero-slideshow {
		margin-bottom: 36px;
		padding: 0 12px;
	}
}

/* =====================================================================
   Royal Collection — Custom premium header
   ===================================================================== */

/* Base palette & typography */
body {
	background: #FAF8F5;
	color: #51483E;
}

body,
button,
input,
select,
textarea {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.rc-logo {
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ---- Announcement slider ---- */
.rc-announce {
	position: relative;
	overflow: hidden;
}

.rc-announce__viewport {
	width: 100%;
	overflow: hidden;
}

.rc-announce__track {
	display: flex;
	transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.rc-announce__slide {
	flex: 0 0 100%;
	min-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 11px 64px;
	background: var(--rc-bg);
	color: var(--rc-fg);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-align: center;
	line-height: 1.4;
}

.rc-announce__msg {
	white-space: nowrap;
}

.rc-announce__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(81, 72, 62, 0.55);
	transition: text-decoration-color 0.2s, color 0.2s;
}

.rc-announce__link:hover {
	color: #884D57;
	text-decoration-color: #884D57;
}

.rc-announce__sep {
	opacity: 0.55;
}

.rc-announce__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	color: var(--rc-fg, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s, transform 0.2s;
}

.rc-announce__arrow:hover {
	opacity: 1;
}

.rc-announce__arrow--prev {
	left: 6px;
}

.rc-announce__arrow--next {
	right: 6px;
}

/* ---- Header shell ---- */
.rc-header {
	background: #FAF8F5;
}

.rc-header--mobile {
	position: relative;
}

.rc-header__inner--main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px 34px;
}

.rc-header__side {
	display: flex;
	align-items: center;
	gap: 24px;
}

.rc-header__side--left {
	justify-self: start;
}

.rc-header__side--right {
	justify-self: end;
}

.rc-header__center {
	justify-self: center;
}

/* ---- Logo ---- */
.rc-logo {
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #51483E;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
}

.rc-logo:hover {
	color: #884D57;
}

.rc-logo__img {
	display: block;
	width: auto;
	height: 66px;
	max-width: 100%;
	object-fit: contain;
}

/* ---- Search ---- */
.rc-search {
	position: relative;
	display: flex;
	align-items: center;
}

.rc-search__icon {
	position: absolute;
	left: 15px;
	display: flex;
	color: #51483E;
	opacity: 0.65;
	pointer-events: none;
}

.rc-search .rc-search__input {
	width: 280px;
	padding: 11px 16px 11px 44px;
	border: 1px solid #E4D9C9;
	border-radius: 999px;
	background: #FFFFFF;
	color: #51483E;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.rc-search .rc-search__input::placeholder {
	color: #A29485;
}

.rc-search .rc-search__input:focus {
	border-color: #884D57;
	box-shadow: 0 0 0 3px rgba(136, 77, 87, 0.14);
}

/* ---- Account & cart ---- */
.rc-account {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #51483E;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.rc-account:hover {
	color: #884D57;
}

.rc-account svg {
	flex: none;
}

/* Mobile header: profile icon replaces the burger. Icon-only, 44px touch target. */
.rc-header--mobile .rc-profile {
	justify-content: center;
	width: 44px;
	height: 44px;
}
.rc-header--mobile .rc-profile .rc-account__text {
	display: none;
}

.rc-cart {
	position: relative;
	display: flex;
	color: #51483E;
	text-decoration: none;
}

.rc-cart:hover {
	color: #884D57;
}

.rc-cart__count {
	position: absolute;
	top: -8px;
	right: -11px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #884D57;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* =====================================================================
   Global editable navigation bar (one row, dropdowns)
   ===================================================================== */
.rc-navbar {
	position: relative;
	z-index: 30;
	background: #FFFFFF;
	border-top: 1px solid #ECE3D6;
	border-bottom: 1px solid #ECE3D6;
}

.rc-navbar__nav {
	display: block;
}

.rc-navbar__scroller {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2.4vw;
	margin: 0;
	padding: 0 40px;
	list-style: none;
}

.rc-navbar__item {
	position: relative;
	list-style: none;
}

.rc-navbar__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 16px 2px;
	color: #51483E;
	text-decoration: none;
	font-family: 'Inter', -apple-system, 'system-ui', 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.rc-navbar__link:hover {
	color: #884D57;
	border-color: #884D57;
}

.rc-navbar__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 2px;
	margin-left: 2px;
	background: none;
	border: none;
	color: #51483E;
	cursor: pointer;
	line-height: 1;
}

.rc-navbar__toggle:hover {
	color: #884D57;
}

/* Desktop dropdown panels (hover + keyboard focus). Nested levels supported. */
.rc-navbar .sub-menu.rc-navbar__sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 40;
	min-width: 240px;
	max-height: calc(100vh - 160px);
	overflow-y: auto;
	overflow-x: visible;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: #FAF8F5;
	border: 1px solid #DDD5CC;
	border-radius: 14px;
	box-shadow: 0 26px 48px -24px rgba(81, 72, 62, 0.38);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
}

.rc-navbar__item:hover > .rc-navbar__sub,
.rc-navbar__item:focus-within > .rc-navbar__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
/* Caret click also opens the dropdown (desktop/mobile inline). */
.rc-navbar .rc-navbar__item.is-open > .rc-navbar__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Fixed-position dropdown used on the mobile header menu row (never clipped). */
.rc-navbar__drop {
	position: fixed;
	z-index: 120;
	min-width: 240px;
	max-width: calc(100vw - 24px);
	max-height: 60vh;
	overflow: auto;
	padding: 6px;
	/* Fully opaque, self-contained panel. It is appended to <body>, so it is
	   styled with its own selectors (never under .rc-navbar) — that ancestry is
	   what made its background transparent before. */
	background: #FAF8F5;
	border: 1px solid #DDD5CC;
	border-radius: 14px;
	box-shadow: 0 26px 48px -22px rgba(81, 72, 62, 0.42);
	color: #51483E;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
}
.rc-navbar__drop.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
/* The cloned sub-list (now detached from .rc-navbar) becomes a plain padded
   list inside the panel — no absolute positioning or its own chrome. */
.rc-navbar__drop > .rc-navbar__sub {
	position: static;
	display: block;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	border: none;
	background: transparent;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.rc-navbar__drop .rc-navbar__link {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 10px 16px;
	white-space: nowrap;
	border-bottom: none;
	display: block;
	color: #51483E;
}
.rc-navbar__drop .rc-navbar__link:hover {
	background: #F1E9DE;
	color: #884D57;
}

/* The focused/hovered item's immediate children are the ones shown. */
.rc-navbar .rc-navbar__sub .rc-navbar__sub {
	top: -12px;
	left: 100%;
	margin-left: 0;
}

.rc-navbar__sub .rc-navbar__link {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 9px 20px;
	width: 100%;
	border-bottom: none;
	white-space: nowrap;
}

.rc-navbar__sub .rc-navbar__link:hover {
	background: #FAF8F5;
}

.rc-navbar__sub .rc-navbar__toggle {
	transform: rotate(-90deg);
}

/* Caret rotates when its submenu is open (arrow/toggle-parent). */
.rc-navbar__item.is-open > .rc-navbar__toggle {
	transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
	.rc-navbar__item.is-open > .rc-navbar__toggle {
		transform: none;
	}
}

/* Hide the leftover front-page placeholder title ("Home"). */
.home .page-title {
	display: none;
}

/* Edge fades only appear when the row can scroll (mobile). */
.rc-navbar__edge {
	display: none;
}

/* ---- Mobile: keep the row on ONE line, horizontally scrollable ---- */
@media (max-width: 999px) {
	.rc-navbar__scroller {
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 30px;
		gap: 26px;
	}
	.rc-navbar__scroller::-webkit-scrollbar {
		display: none;
		height: 0;
	}
	.rc-navbar__item {
		flex: 0 0 auto;
	}
	.rc-navbar__link {
		font-size: 14px;
		padding: 14px 0;
	}

	/* Reliable touch target for the expand arrow on mobile. */
	.rc-navbar__toggle {
		min-width: 36px;
		min-height: 36px;
		margin: -6px -4px;
	}

	/* Inline nested submenus are replaced by the popover on mobile. */
	.rc-navbar .rc-navbar__sub {
		display: none;
	}

	.rc-navbar__edge--l,
	.rc-navbar__edge--r {
		display: block;
	}
	.rc-navbar__edge {
		position: absolute;
		top: 0;
		bottom: 0;
		width: 30px;
		z-index: 5;
		pointer-events: none;
	}
	.rc-navbar__edge--l {
		left: 0;
		background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
	}
	.rc-navbar__edge--r {
		right: 0;
		background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
	}

	/* Mobile popover (not full-screen, not clipped by the scroller). */
	.rc-navbar__pop {
		position: absolute;
		top: 100%;
		z-index: 45;
		min-width: 240px;
		max-width: calc(100vw - 32px);
		max-height: 60vh;
		overflow: auto;
		margin: 0;
		padding: 10px 0;
		background: #FFFFFF;
		border: 1px solid #F0E7DC;
		border-radius: 14px;
		box-shadow: 0 26px 48px -22px rgba(81, 72, 62, 0.42);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	}
	.rc-navbar__pop.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	.rc-navbar__pop .rc-navbar__sub {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.rc-navbar__pop .rc-navbar__link {
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0;
		text-transform: none;
		padding: 10px 20px;
		white-space: nowrap;
		border-bottom: none;
	}
	.rc-navbar__pop .rc-navbar__link:hover {
		background: #FAF8F5;
		color: #884D57;
	}
}

/* ---- Mobile slide-out (hamburger) menu with expandable dropdowns ---- */
.rc-mobile-nav .rc-mobile-nav__list a.rc-navbar__link {
	padding: 13px 0;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 1px solid #F2EBDF;
	width: 100%;
}
.rc-mobile-nav .rc-navbar__item {
	border-bottom: 1px solid #F2EBDF;
}
.rc-mobile-nav .rc-navbar__sub {
	display: none;
	margin: 0;
	padding: 0 0 6px 14px;
	list-style: none;
}
.rc-mobile-nav .rc-navbar__item.is-open > .rc-navbar__sub {
	display: block;
}
.rc-mobile-nav .rc-navbar__sub .rc-navbar__link {
	font-size: 14px;
	font-weight: 500;
	padding: 10px 0;
	border-bottom: none;
}
.rc-mobile-nav .rc-navbar__toggle {
	float: right;
	margin-top: 8px;
	min-width: 44px;
	min-height: 44px;
}
.rc-mobile-nav .rc-navbar__item.is-open > .rc-navbar__toggle {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.rc-navbar .sub-menu.rc-navbar__sub,
	.rc-navbar__pop {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* ---- Mobile (Blocksy switches below 1000px) ---- */
.rc-burger,
.rc-search-toggle {
	background: none;
	border: none;
	color: #51483E;
	display: flex;
	align-items: center;
	padding: 4px;
	cursor: pointer;
}

.rc-burger:hover,
.rc-search-toggle:hover {
	color: #884D57;
}

.rc-mobile-search {
	padding: 0 16px 14px;
	background: #FAF8F5;
}

.rc-mobile-search .rc-search__input {
	width: 100%;
}

/* ---- Live search dropdown ---- */
.rc-search-wrap {
	position: relative;
}
.rc-search-live {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 60;
	min-width: 300px;
	max-height: 70vh;
	overflow: auto;
	background: #FFFFFF;
	border: 1px solid #F0E7DC;
	border-radius: 14px;
	box-shadow: 0 26px 48px -22px rgba(81, 72, 62, 0.42);
	padding: 6px;
}
.rc-search-live__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: #51483E;
}
.rc-search-live__item:hover { background: #FAF6F0; }
.rc-search-live__img, .rc-search-live__ph {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	flex: 0 0 auto;
}
.rc-search-live__ph { background: #EFE7DC; }
.rc-search-live__img { object-fit: cover; }
.rc-search-live__info { display: flex; flex-direction: column; gap: 2px; }
.rc-search-live__title { font-size: 14px; font-weight: 600; }
.rc-search-live__price { font-size: 13px; color: #884D57; }
.rc-search-live__empty { padding: 14px; text-align: center; color: #A29485; font-size: 14px; }

/* ---- Brand listing grid (Markalar page) ---- */
.rc-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 14px 0 50px;
}
.rc-brand-grid__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 28px 18px;
	background: #FFFFFF;
	border: 1px solid #F0E7DC;
	border-radius: 16px;
	text-decoration: none;
	color: #51483E;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rc-brand-grid__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px -22px rgba(81, 72, 62, 0.4);
	border-color: #E2D6C6;
}
.rc-brand-grid__logo {
	max-height: 52px;
	max-width: 70%;
	height: auto;
	object-fit: contain;
}
.rc-brand-grid__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #EFE4D5;
	color: #51483E;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 26px;
	font-weight: 600;
}
.rc-brand-grid__name {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 19px;
	font-weight: 600;
	text-align: center;
}
@media (max-width: 760px) {
	.rc-brand-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.rc-mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	background: #FFFFFF;
	border-top: 1px solid #ECE3D6;
	box-shadow: 0 24px 40px -24px rgba(81, 72, 62, 0.28);
	padding: 10px 22px 22px;
	max-height: calc(100vh - 60px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.rc-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rc-mobile-nav__list a {
	display: block;
	padding: 13px 0;
	color: #51483E;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 1px solid #F2EBDF;
}

.rc-mobile-nav__account {
	margin-top: 12px;
	padding-top: 14px;
	border-top: 1px solid #F2EBDF;
}

/* Lock the page behind the drawer while it is open. */
body.rc-lock {
	overflow: hidden;
}

/* Drawer header: title + close button. */
.rc-mobile-nav__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 0 14px;
	border-bottom: 1px solid #F2EBDF;
	margin-bottom: 4px;
}
.rc-mobile-nav__title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 20px;
	font-weight: 600;
	color: #51483E;
}
.rc-mobile-nav__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	color: #51483E;
	cursor: pointer;
	border-radius: 8px;
}
.rc-mobile-nav__close:hover {
	color: #884D57;
}

@media (max-width: 999px) {
	.rc-header__inner--main {
		grid-template-columns: 1fr auto 1fr;
		gap: 12px;
		padding: 14px 16px;
	}

	.rc-header__side {
		gap: 14px;
	}

	.rc-logo {
		font-size: 25px;
	}

	.rc-logo__img {
		height: 44px;
	}

	.rc-announce__slide {
		font-size: 12px;
		padding: 10px 52px;
		gap: 6px 12px;
	}

	.rc-announce__arrow {
		width: 30px;
		height: 30px;
	}
}

/* Reduced motion: disable slider auto-rotate animation feel */
@media (prefers-reduced-motion: reduce) {
	.rc-announce__track {
		transition: none;
	}
}

/* =====================================================================
   Royal Collection — Homepage hero slideshow
   ===================================================================== */

.rc-hero {
	position: relative;
	background: #FAF8F5;
	outline: none;
}

.rc-hero:focus-visible {
	outline: 2px solid #884D57;
	outline-offset: -2px;
}

.rc-hero__viewport {
	width: 100%;
	overflow: hidden;
}

.rc-hero__track {
	display: flex;
}

.rc-hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
}

.rc-hero__media {
	position: relative;
	width: 100%;
	height: min(88vh, 940px);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.rc-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rc-hero__img--mobile {
	display: none;
}

/* Placeholder watermark (only when no image is set yet) */
.rc-hero__ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(60px, 11vw, 160px);
	font-weight: 600;
	color: rgba(81, 72, 62, 0.16);
	letter-spacing: 0.02em;
}

/* Overlaid content (desktop) */
.rc-hero__content {
	position: absolute;
	right: 6%;
	top: 7%;
	z-index: 2;
	max-width: 440px;
	color: #51483E;
	padding: 18px 22px;
	border-radius: 14px;
	text-align: right;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.45);
}

.rc-hero__title {
	margin: 0 0 14px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 600;
	line-height: 1.02;
	color: #51483E;
}

.rc-hero__cta {
	display: inline-block;
	padding: 14px 30px;
	background: #665748;
	color: #F1ECE6;
	border-radius: 999px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.rc-hero__cta:hover {
	background: #54493c;
	transform: translateY(-1px);
}

/* Keep the slideshow CTA text the same theme color on hover / focus / after
 * click — the global link hover rule must not recolor it. */
.rc-hero__cta,
.rc-hero__cta:visited,
.rc-hero__cta:hover,
.rc-hero__cta:visited:hover,
.rc-hero__cta:focus,
.rc-hero__cta:visited:focus {
	color: #F1ECE6;
}

/* Arrows */
.rc-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.82);
	color: #51483E;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(81, 72, 62, 0.18);
	transition: background 0.2s, transform 0.2s;
}

.rc-hero__arrow:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.05);
}

.rc-hero__arrow--prev {
	left: 18px;
}

.rc-hero__arrow--next {
	right: 18px;
}

/* Dots */
.rc-hero__dots {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}

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

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

/* Tablet: keep overlay, tame height */
@media (max-width: 999px) and (min-width: 768px) {
	.rc-hero__media {
		height: 72vh;
	}
	.rc-hero__title {
		font-size: clamp(36px, 5vw, 54px);
	}
}

/* Mobile: content below the image, centered, portrait-friendly */
@media (max-width: 767px) {
	.rc-hero__slide.has-mobile .rc-hero__img--mobile {
		display: block;
	}
	.rc-hero__slide.has-mobile .rc-hero__img--desktop {
		display: none;
	}

	.rc-hero__media {
		height: auto;
		min-height: 50vh;
		aspect-ratio: 4 / 5;
		max-height: 78vh;
	}

	.rc-hero__content {
		position: static;
		max-width: none;
		text-align: center;
		padding: 22px 20px 30px;
		text-shadow: none;
	}

	.rc-hero__title {
		font-size: 34px;
	}

	.rc-hero__arrow {
		width: 40px;
		height: 40px;
	}

	.rc-hero__arrow--prev {
		left: 10px;
	}

	.rc-hero__arrow--next {
		right: 10px;
	}

	.rc-hero__dots {
		bottom: 12px;
	}
}

/* Reduced motion: no autoplay transitions */
@media (prefers-reduced-motion: reduce) {
	.rc-hero__track {
		transition: none;
	}
}



/* Royal Collection responsive hero images */
.rc-hero__picture {
    display: block;
    width: 100%;
    height: 100%;
}

.rc-hero__picture > .rc-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Royal Collection: picture-based mobile hero fix */
@media (max-width: 767px) {
    .rc-hero__slide.has-mobile .rc-hero__picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    .rc-hero__slide.has-mobile .rc-hero__picture > .rc-hero__img--desktop {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
