/* ==========================================================================
   RS RENÉE Mobile Menu — Front-end Styles
   All selectors scoped to .rs-rmm-* to avoid theme/plugin collisions.
   ========================================================================== */

/* ---------- Reset ---------- */
.rs-rmm-hamburger,
.rs-rmm-overlay,
.rs-rmm-overlay * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ---------- Hamburger button ---------- */
.rs-rmm-hamburger {
	width: 24px;
	height: 18px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}

.rs-rmm-hamburger__line {
	display: block;
	width: 24px;
	height: 2px;
	background: #333333;
	border-radius: 0;
	transition: transform 0.3s ease, opacity 0.2s ease;
	transform-origin: center center;
}

/* X state — used inside the overlay close button. */
.rs-rmm-hamburger--active .rs-rmm-hamburger__line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.rs-rmm-hamburger--active .rs-rmm-hamburger__line:nth-child(2) {
	opacity: 0;
}

.rs-rmm-hamburger--active .rs-rmm-hamburger__line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Fullscreen overlay ---------- */
.rs-rmm-overlay {
	position: fixed;
	inset: 0;
	background: #FAF8F2;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.rs-rmm-overlay--open {
	opacity: 1;
	visibility: visible;
}

/* Prevent background scroll while the overlay is open. */
body.rs-rmm-overlay-open {
	overflow: hidden !important;
}

/* ---------- Overlay header ---------- */
.rs-rmm-overlay__header {
	height: 60px;
	min-height: 60px;
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.16);
	flex-shrink: 0;
}

.rs-rmm-overlay__header .rs-rmm-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
	flex-shrink: 0;
}

.rs-rmm-overlay__header .rs-rmm-logo img {
	display: block;
	max-height: 40px;
	width: auto;
}

.rs-rmm-logo--text {
	color: #333;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

/* ---------- Navigation ---------- */
.rs-rmm-nav {
	flex: 1 1 auto;
	overflow-y: auto;
}

.rs-rmm-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Parent menu items ---------- */
.rs-rmm-item {
	border-bottom: 1px solid #BEBDB9;
}

.rs-rmm-item__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	gap: 10px;
}

.rs-rmm-item__link {
	color: #333333;
	font-size: 16px;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: 2.56px;
	text-decoration: none;
	flex: 1 1 auto;
}

.rs-rmm-item__link:hover,
.rs-rmm-item__link:focus {
	opacity: 0.7;
}

/* ---------- Accordion toggle (+/−) ---------- */
.rs-rmm-item__toggle {
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	color: #333333;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}

.rs-rmm-icon-plus {
	display: block;
}

/* Animate the vertical bar of the + to disappear → becomes −. */
.rs-rmm-icon-plus__vertical {
	transition: transform 0.25s ease, opacity 0.25s ease;
	transform-origin: center center;
}

.rs-rmm-item__toggle[aria-expanded="true"] .rs-rmm-icon-plus__vertical {
	transform: rotate(90deg);
	opacity: 0;
}

/* ---------- Sub-menu (accordion panel) ---------- */
.rs-rmm-submenu {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.rs-rmm-subitem {
	background: #F3F0E8;
}

.rs-rmm-subitem__link {
	display: block;
	padding: 10px 40px;
	color: #333333;
	font-size: 14px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: 2.24px;
	text-decoration: none;
}

.rs-rmm-subitem__link:hover,
.rs-rmm-subitem__link:focus {
	opacity: 0.7;
}

/* ---------- CTA button ---------- */
.rs-rmm-cta {
	padding: 20px 20px 40px;
	flex-shrink: 0;
}

.rs-rmm-cta__button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 24px;
	background: #722E2B;
	border-radius: 20px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 2.56px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.rs-rmm-cta__button:hover,
.rs-rmm-cta__button:focus {
	opacity: 0.85;
	color: #ffffff;
}

.rs-rmm-cta__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: #ffffff;
}
