/*
 * Raquel Tolmo — estilos del tema.
 * Puntos de corte heredados del diseño original: móvil ≤ 767px, tableta ≤ 1024px.
 */

/* ---------- Base ---------- */
html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

:root :where(.wp-site-blocks) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

p {
	margin: 0 0 0.9rem;
}

:where(.wp-block-group, .wp-block-column, .wp-block-details) > p:last-child {
	margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

.wp-block-image {
	margin-bottom: 0;
}

.wp-block-image img {
	vertical-align: middle;
}

.rt-anchor {
	position: relative;
	top: -20px;
	margin: 0 !important;
}

.has-text-align-center {
	text-align: center;
}

.rt-mt-40 {
	margin-top: 60px !important;
}

.rt-script,
.rt-script.wp-block-heading {
	font-family: var(--wp--preset--font-family--great-wishes);
	text-transform: none;
	font-weight: 500;
}

/* Tipografía responsive heredada del kit de Elementor */
@media (max-width: 1024px) {
	body { font-size: 20px; }
	h1 { font-size: 36px; }
	h2 { font-size: 30px; }
	h3 { font-size: 26px; }
	h4 { font-size: 22px; }
	h5 { font-size: 18px; }
	h6 { font-size: 16px; }
	.wp-element-button, .wp-block-button__link { font-size: 18px; }
}

@media (max-width: 767px) {
	body { font-size: 18px; }
	h1 { font-size: 30px; }
	h2 { font-size: 26px; }
	h3 { font-size: 22px; }
	h4 { font-size: 18px; }
	h5 { font-size: 16px; }
	h6 { font-size: 14px; }
	.wp-element-button, .wp-block-button__link { font-size: 14px; }
}

/* ---------- Animaciones ---------- */
.rt-float {
	animation: rt-float 4s ease-in-out infinite;
}

@keyframes rt-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

.rt-js [class*="rt-anim-"] {
	opacity: 0;
}

.rt-js [class*="rt-anim-"].is-visible {
	animation: 1.25s ease both;
}

.rt-js .rt-anim-left.is-visible { animation-name: rt-fade-left; }
.rt-js .rt-anim-right.is-visible { animation-name: rt-fade-right; }
.rt-js .rt-anim-up.is-visible { animation-name: rt-fade-up; }
.rt-js .rt-anim-down.is-visible { animation-name: rt-fade-down; }
.rt-js .rt-anim-fade.is-visible { animation-name: rt-fade; }

@keyframes rt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rt-fade-left { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rt-fade-right { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rt-fade-up { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes rt-fade-down { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.rt-float, .rt-js [class*="rt-anim-"].is-visible { animation: none; }
	.rt-js [class*="rt-anim-"] { opacity: 1; }
}

/* ---------- Botones ---------- */
.wp-block-button__link {
	transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

/* ---------- Cabecera ---------- */
.rt-header-wrap {
	position: relative;
	z-index: 20;
}

.rt-header {
	background: linear-gradient(90deg, #FEC8A4 0%, #FBBDB5 100%);
	min-height: 90px;
	display: flex;
	align-items: center;
	padding: 0 5%;
	box-sizing: border-box;
}

.rt-header.rt-header--transparente {
	background: transparent;
}

.rt-header > .rt-nav {
	width: 100%;
	max-width: 1200px !important;
	margin-inline: auto;
}

.rt-nav {
	font-family: var(--wp--preset--font-family--montserrat);
	color: #fff;
	line-height: 20px;
}

.rt-nav .wp-block-navigation__container {
	width: 100%;
	gap: 0;
}

.rt-nav .wp-block-navigation__container > .wp-block-navigation-item {
	flex: 1 1 0;
	justify-content: center;
}

.rt-nav .wp-block-navigation-item__content {
	color: #fff;
	padding: 0;
}

.rt-nav .wp-block-navigation-item__content:hover,
.rt-nav .wp-block-navigation-item__content:focus {
	color: #647177;
}

/* Flecha de submenú: triángulo sólido como en el diseño original */
.rt-nav .wp-block-navigation__submenu-icon {
	width: 14px;
	height: 14px;
	margin-left: 14px;
	display: inline-flex;
	align-items: center;
}

.rt-nav .wp-block-navigation__submenu-icon svg {
	display: none;
}

.rt-nav .wp-block-navigation__submenu-icon::before {
	content: "";
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 8px solid currentColor;
}

.rt-nav .wp-block-navigation__submenu-container {
	background: rgba(255, 255, 255, 0.52) !important;
	border: 0 !important;
	border-radius: 2px;
	margin-top: 10px;
	min-width: 0 !important;
	text-transform: none;
	letter-spacing: 0;
}

.rt-nav .wp-block-navigation__submenu-container::before {
	content: "";
	position: absolute;
	inset: -12px 0 auto;
	height: 12px;
}

.rt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #647177;
	font-size: 18px;
	font-weight: 300;
	padding: 15px 20px;
	white-space: nowrap;
}

.rt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover {
	background: #fff;
}

/* Menú hamburguesa hasta 1024px (como el original) */
@media (min-width: 600px) and (max-width: 1024px) {
	.rt-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
	.rt-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}
}

@media (max-width: 1024px) {
	.rt-header {
		padding: 0 5%;
	}
	.rt-nav {
		justify-content: flex-end;
	}
	.rt-nav .wp-block-navigation__responsive-container-open {
		color: #fff;
		margin-left: auto;
	}
	.rt-nav .wp-block-navigation__responsive-container-open svg {
		width: 40px;
		height: 40px;
	}
	.rt-nav .wp-block-navigation__responsive-container.is-menu-open {
		background: #fff !important;
		color: #647177 !important;
		padding: 20px;
	}
	.rt-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: center !important;
		padding-top: 60px;
	}
	.rt-nav .is-menu-open .wp-block-navigation__container {
		align-items: center !important;
		width: 100%;
	}
	.rt-nav .is-menu-open .wp-block-navigation-item {
		width: 100%;
		align-items: center !important;
		border-bottom: 1px solid rgba(100, 113, 119, 0.25);
	}
	.rt-nav .is-menu-open .wp-block-navigation-item__content,
	.rt-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		color: #647177 !important;
		font-size: 18px;
		font-weight: 300;
		padding: 20px !important;
		text-align: center;
	}
	.rt-nav .is-menu-open .wp-block-navigation__submenu-container {
		background: transparent !important;
		margin: 0;
		padding: 0 !important;
		width: 100%;
	}
	.rt-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
		border-bottom: 0;
	}
	.rt-nav .is-menu-open .wp-block-navigation__submenu-icon {
		display: none;
	}
	.rt-nav .wp-block-navigation__responsive-container-close {
		color: #647177;
	}
	.rt-nav .wp-block-navigation__responsive-container-close svg {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 767px) {
	.rt-header {
		min-height: 70px;
	}
}

/* ---------- Pie ---------- */
.rt-footer {
	padding: 5% 5% 0;
	color: #fff;
}

.rt-footer .rt-footer__cols.wp-block-columns {
	gap: 0 !important;
	margin: 0 0 3% !important;
	align-items: stretch;
}

.rt-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rt-footer__brand > * {
	margin: 0 !important;
}

.rt-footer__logo img {
	width: 300px;
	height: 83px;
	object-fit: contain;
	object-position: left center;
}

.rt-footer__text {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: -0.45px;
	color: #fff;
	margin: 0;
}

.rt-footer__sep.wp-block-separator {
	width: 70%;
	border: 0;
	border-top: 2px solid #fff;
	opacity: 1;
	margin: 2px 0 !important;
	background: none;
	height: 0;
}

.rt-footer__social {
	gap: 14px !important;
}

.rt-footer__social .wp-block-image img,
.rt-platform img {
	transition: transform 0.3s;
}

.rt-footer__social .wp-block-image a:hover img,
.rt-platform a:hover img {
	transform: scale(1.08);
}

.rt-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rt-footer__menu > * {
	margin: 0 !important;
}

.rt-footer__title.wp-block-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 20px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
}

.rt-footer__nav {
	text-transform: none;
	letter-spacing: 0;
	gap: 3px !important;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 400;
}

.rt-footer__nav .wp-block-navigation-item__content {
	color: #fff;
}

.rt-footer__nav .wp-block-navigation-item__content:hover {
	color: #647177;
}

.rt-footer__copy {
	min-height: 50px;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	letter-spacing: -0.45px;
	color: #fff;
}

@media (max-width: 1024px) {
	.rt-footer .rt-footer__cols.wp-block-columns {
		flex-wrap: wrap !important;
		justify-content: space-between;
		row-gap: 48px !important;
	}
	.rt-footer__cols > .rt-footer__brand {
		flex-basis: 100% !important;
	}
	.rt-footer__cols > .rt-footer__menu {
		flex-basis: 45% !important;
		flex-grow: 0 !important;
	}
	.rt-footer__text,
	.rt-footer__nav,
	.rt-footer__copy {
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.rt-footer {
		padding: 15% 5% 0;
	}
	.rt-footer .rt-footer__cols.wp-block-columns {
		row-gap: 40px !important;
		margin-bottom: 5% !important;
	}
	.rt-footer__cols > .rt-footer__menu {
		flex-basis: 47% !important;
	}
	.rt-footer__text {
		text-align: center;
	}
	.rt-footer__sep.wp-block-separator {
		width: 100%;
	}
	.rt-footer__social {
		justify-content: center;
	}
	.rt-footer__copy {
		padding: 20px 5px;
	}
}

/* ---------- Secciones comunes ---------- */
.rt-section {
	position: relative;
}

.rt-section-logo img {
	height: 110px;
	width: auto;
}

.rt-intro {
	text-align: center;
}

.rt-platforms {
	gap: 14px !important;
}

.rt-platforms .wp-block-image img {
	width: 45px !important;
	height: 45px !important;
}

/* Reproductores de Spotify con marco blanco */
.rt-embed.wp-block-embed {
	margin: 0;
	width: 100%;
}

.rt-embed .wp-block-embed__wrapper {
	border: 7px solid #fff;
	border-radius: 16px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.15);
	line-height: 0;
}

.rt-embed .wp-block-embed__wrapper::before {
	display: none;
}

.rt-embed iframe {
	position: static !important;
	width: 100% !important;
	border-radius: 10px;
	display: block;
}

.rt-embed--show iframe {
	height: 296px !important;
}

.rt-embed--artist iframe {
	height: 352px !important;
}

/* Secciones blancas con sombra (testimonios, cómo funciona) */
.rt-section--reviews {
	background: #fff;
	box-shadow: 0 12px 10px rgba(0, 0, 0, 0.14);
	padding: 5% 0;
	z-index: 2;
}

.rt-section--reviews > .wp-block-heading {
	max-width: 1300px !important;
}

/* ---------- Carrusel (estilo de bloque de Grupo) ---------- */
.is-style-carrusel {
	--rt-arrow-a: #a1d2f1;
	--rt-arrow-b: #d3b8fe;
	position: relative;
	width: 100%;
	max-width: 1280px !important;
	margin: 20px auto 0 !important;
	padding: 0 95px;
	box-sizing: border-box;
}

.rt-arrows-rosa { --rt-arrow-a: #f9b5c2; --rt-arrow-b: #fec8a4; }
.rt-arrows-melocoton { --rt-arrow-a: #FEC8A4; --rt-arrow-b: #F9D7AD; }
.rt-arrows-verde { --rt-arrow-a: #96d8ed; --rt-arrow-b: #c0e4d6; }

.rt-carousel__viewport {
	overflow: hidden;
	padding: 20px 10px;
	margin: 0 -10px;
	touch-action: pan-y;
}

.is-style-carrusel .rt-carousel__track {
	display: flex;
	gap: 40px;
	transition: transform 0.5s ease;
	will-change: transform;
}

.is-style-carrusel .rt-carousel__track > *,
.is-style-carrusel:not(.is-ready) > * {
	flex: 0 0 calc((100% - 80px) / 3);
	margin: 0 !important;
}

.is-style-carrusel:not(.is-ready) {
	display: flex;
	gap: 40px;
	overflow: hidden;
}

.rt-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	padding: 0;
	cursor: pointer;
	background: linear-gradient(to right, var(--rt-arrow-a), var(--rt-arrow-b));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.rt-carousel__btn svg {
	width: 20px;
	height: 20px;
}

.rt-carousel__btn--prev { left: 0; }
.rt-carousel__btn--next { right: 0; }

.rt-carousel__btn[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* Tarjeta de reseña */
.rt-review {
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	min-height: 40vh;
	padding: 20px !important;
	box-sizing: border-box;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 20px !important;
	overflow: hidden;
}

.rt-review > * {
	width: 100%;
	margin: 0 !important;
}

.rt-review__text {
	font-size: 1vw;
	line-height: 1.5;
	color: #647177;
	margin: 0;
}

.rt-review__name.wp-block-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 2px;
	color: #fff;
}

.rt-stars {
	display: flex;
	justify-content: center;
	gap: var(--rt-stars-gap, 10px);
}

.rt-stars svg {
	flex: 0 0 auto;
}

@media (max-width: 1024px) {
	.rt-review__text { font-size: 1.2vw; }
	.rt-stars svg { width: 23px; height: 23px; }
	.is-style-carrusel .rt-carousel__track > *,
	.is-style-carrusel:not(.is-ready) > * {
		flex-basis: calc((100% - 40px) / 2);
	}
}

@media (max-width: 767px) {
	.is-style-carrusel {
		width: 100%;
		padding: 0 60px 25px;
	}
	.is-style-carrusel .rt-carousel__track > *,
	.is-style-carrusel:not(.is-ready) > * {
		flex-basis: 100%;
	}
	.rt-review__text { font-size: 18px; line-height: 27px; }
}

/* ---------- Inicio: hero ---------- */
.rt-hero {
	margin-top: -10% !important;
	padding: 14% 10px 5.8%;
	background-size: cover;
}

.rt-hero__row {
	max-width: 1060px !important;
	margin: 0 auto !important;
	padding: 10px 0;
	gap: 20px !important;
}

.rt-hero__row > .wp-block-column:last-child {
	flex: 0 0 463px !important;
}

.rt-hero__row > .wp-block-column {
	padding: 10px;
}

.rt-hero__logo img {
	height: 113px;
	width: auto;
}

.rt-hero__claim.wp-block-heading {
	font-size: 30px;
	line-height: 40px;
	letter-spacing: 2px;
	margin-top: 20px;
}

.rt-hero__moon img {
	width: 443px;
}

@media (max-width: 1024px) {
	.rt-hero {
		margin-top: -10% !important;
		padding: 15% 10px 5%;
	}
}

@media (max-width: 767px) {
	.rt-hero {
		margin-top: -70px !important;
		padding: 88px 10px 60px;
	}
	.rt-hero__row {
		gap: 0 !important;
	}
	.rt-hero__row > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
	.rt-hero__logo img {
		height: auto;
		width: 330px;
	}
	.rt-hero__claim.wp-block-heading {
		font-size: 22px;
	}
	.rt-hero__moon img {
		width: 330px;
	}
	.rt-hero__row > .wp-block-column:last-child .wp-block-image {
		text-align: center;
	}
}

/* ---------- Inicio: libros ---------- */
.rt-libros {
	margin: 5% 0 !important;
	padding: 10px 10px 0;
}

.rt-libros__card {
	max-width: 1200px;
	margin: 0 auto;
	border-radius: 20px;
}

.rt-libros__row {
	min-height: 434px;
	gap: 0 !important;
	margin: 0 !important;
	align-items: stretch !important;
}

.rt-libros__text {
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
}

.rt-libros__text > * {
	margin: 0 !important;
}

.rt-libros__text .wp-block-heading {
	letter-spacing: 4px;
}

.rt-libros__media {
	position: relative;
	background: url(/wp-content/uploads/2024/08/Luna_Fondo.png) left bottom / contain no-repeat;
	border-radius: 0 20px 20px 0;
}

.rt-libros__book {
	margin: -120px 0 -115px !important;
}

.rt-libros__book img {
	width: 100%;
	will-change: transform;
}

@media (max-width: 1024px) {
	.rt-libros {
		margin: 10% 0 !important;
	}
	.rt-libros__book {
		margin: 0 !important;
	}
}

@media (max-width: 767px) {
	.rt-libros__card {
		padding: 1%;
	}
	.rt-libros__row {
		flex-direction: column-reverse;
	}
	.rt-libros__media {
		background-size: contain;
		border-radius: 20px 20px 0 0;
		padding-top: 20px;
	}
	.rt-amazon img {
		width: 130px !important;
	}
}

/* ---------- Inicio: sobre mí ---------- */
.rt-sobremi {
	background: #fff;
	box-shadow: 0 13px 10px rgba(0, 0, 0, 0.06);
	padding: 5% 0;
	z-index: 2;
}

.rt-sobremi__row {
	max-width: 1200px !important;
	padding: 10px;
	gap: 20px !important;
	box-sizing: border-box;
	margin: 0 auto !important;
}

.rt-sobremi__media {
	padding: 10px;
	flex: 0 0 454px !important;
	box-sizing: border-box;
}

.rt-sobremi__media .wp-block-image {
	text-align: center;
}

.rt-sobremi__text {
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.rt-sobremi__text > * {
	margin: 0 !important;
}

.rt-sobremi__title.wp-block-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 58px;
	font-weight: 400;
	line-height: 50px;
	letter-spacing: 4px;
	padding: 10px;
}

.is-style-degradado.wp-block-heading {
	background: linear-gradient(to right, #fec8a4, #f9b6c1);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.rt-sobremi__lead.wp-block-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 24px;
	font-weight: 500;
	line-height: 25px;
	letter-spacing: 1px;
	word-spacing: 1px;
	text-transform: none;
}

/* Detalles con estilo "botón que despliega" */
.wp-block-details.is-style-boton > summary {
	display: inline-block;
	list-style: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--moon);
	font-size: 21px;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(9deg, #FFC7A3 0%, #FAB6C2 100%);
	padding: 12px 24px;
	border-radius: 3px;
	animation: rt-float 4s ease-in-out infinite;
}

.wp-block-details.is-style-boton > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-boton > summary::marker {
	content: "";
}

.wp-block-details.is-style-boton[open] > summary {
	margin-bottom: 20px;
}

.wp-block-details.is-style-boton[open] > :not(summary) {
	animation: rt-fade 1.5s ease both;
}

.rt-sobremi__in img {
	width: 35px;
	height: 35px;
}

@media (max-width: 1024px) {
	.rt-sobremi__row {
		flex-direction: column;
	}
	.rt-sobremi__row > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}
	.rt-sobremi__text {
		align-items: center;
		text-align: center;
	}
	.rt-sobremi__media .wp-block-image {
		text-align: center;
	}
	.rt-sobremi__lead.wp-block-heading {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.rt-sobremi {
		padding: 0 5%;
	}
	.rt-sobremi__lead.wp-block-heading {
		font-size: 18px;
	}
	.rt-sobremi__title.wp-block-heading {
		text-align: center;
	}
	.wp-block-details.is-style-boton > summary {
		font-size: 14px;
	}
}

/* ---------- Inicio: cuentos / canciones ---------- */
.rt-cuentos {
	padding: 5% 0;
	background-color: #D8B5FF;
}

.rt-cuentos__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.rt-cuentos__inner > *,
.rt-canciones__inner > *,
.rt-personalizadas__inner > * {
	margin: 0 !important;
	max-width: 100% !important;
}

.rt-cuentos__inner .rt-intro {
	color: #647177;
}

.rt-canciones {
	padding: 0;
}

.rt-canciones__bg {
	padding: 6% 0;
}

.rt-canciones__inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.rt-canciones__inner .rt-embed {
	width: calc(100% - 20px);
}

.rt-personalizadas {
	padding: 5% 0;
	background-size: cover;
}

.rt-personalizadas__inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.rt-personalizadas__inner .wp-block-heading {
	font-size: 20px;
	line-height: 30px;
	letter-spacing: 3px;
}

.rt-canciones .rt-script {
	font-size: 30px;
	line-height: 40px;
	letter-spacing: 2px;
}

@media (max-width: 1024px) {
	.rt-cuentos { padding: 8% 2%; }
	.rt-canciones__bg { padding: 8% 1%; }
	.rt-personalizadas { padding: 8% 2%; }
}

@media (max-width: 767px) {
	.rt-cuentos { padding: 30px 8px; }
	.rt-canciones .rt-section-logo img,
	.rt-personalizadas .rt-section-logo img { height: auto; width: 293px; }
	.rt-canciones .rt-script { font-size: 22px; }
	.rt-personalizadas__inner .wp-block-heading { font-size: 16px; }
	.rt-platforms { gap: 0 14px !important; padding: 5% 0; }
	.rt-platforms .wp-block-image img { width: 36px !important; height: 36px !important; }
}

/* ---------- Inicio: cómo funciona ---------- */
.rt-como img {
	height: 36vw;
	width: auto;
	max-width: 100vw;
}

.rt-btn-packs .wp-block-button__link {
	background: #FEC8A4;
}

@media (max-width: 767px) {
	.rt-section--reviews { padding: 15% 0; }
}

/* ---------- Inicio: empresas ---------- */
.rt-empresas {
	margin: 8% 0 !important;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.rt-empresas > * {
	margin: 0 !important;
}

.rt-counters {
	width: 100%;
	max-width: 1200px !important;
	padding: 10px;
	box-sizing: border-box;
	gap: 0 !important;
}

.rt-counter {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	box-sizing: border-box;
	flex: 1 1 0;
	min-width: 0;
	justify-content: center;
}

.rt-counter__icon {
	width: 80px;
	height: 80px;
	flex: 0 0 80px;
}

.rt-counter__number {
	font-family: var(--wp--preset--font-family--moon);
	color: #D8B5FF;
	font-size: 20px;
	line-height: 40px;
	letter-spacing: 2px;
	margin: 0;
	white-space: nowrap;
}

.rt-counter__number small {
	font-size: 50%;
	text-transform: lowercase;
}

.rt-counter__label {
	font-family: var(--wp--preset--font-family--montserrat);
	color: #96D8EE;
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
	margin: 0;
}

@media (max-width: 1024px) {
	.rt-counter { flex: 0 0 50%; }
}

@media (max-width: 767px) {
	.rt-counter {
		flex: 0 0 100%;
		flex-direction: column;
		text-align: center;
	}
}

/* ---------- Páginas legales ---------- */
.rt-main--legal {
	margin: 15% 0 5% !important;
	padding: 0 10px;
}

.rt-main--legal h5 {
	font-size: 26px;
	letter-spacing: 3px;
	line-height: 35px;
	margin: 40px 0 10px;
}

.rt-main--legal p {
	font-size: 22px;
	font-weight: 400;
	line-height: 24px;
}

.rt-main--page {
	padding: 80px 10px;
	min-height: 40vh;
}

@media (max-width: 767px) {
	.rt-main--legal { margin: 50px 0 5% !important; }
	.rt-main--legal h5 { font-size: 22px; }
	.rt-main--legal p { font-size: 18px; }
}

.is-style-carrusel > .rt-carousel__btn,
.is-style-carrusel > .rt-carousel__viewport {
	margin-block: 0 !important;
}

/* Ajustes de ritmo vertical para igualar al original */
.rt-main > * {
	margin-block-start: 0;
}

.rt-libros {
	padding-bottom: 10px;
}

.is-style-carrusel {
	padding-bottom: 25px;
}

.rt-cuentos__inner .rt-intro {
	margin-bottom: 37px !important;
}

.rt-canciones__inner .rt-intro {
	margin-bottom: 14px !important;
}

.rt-section-logo {
	padding-bottom: 5px;
}

.rt-empresas {
	padding: 10px 10px 30px;
}

.rt-como {
	padding-bottom: 5px;
}

.wp-block-column {
	box-sizing: border-box;
}

.rt-sobremi__in {
	margin-top: 25px !important;
}

/* Icono hamburguesa: tres barras gruesas como el original */
.rt-nav .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.rt-nav .wp-block-navigation__responsive-container-open::before {
	content: "";
	display: block;
	width: 32px;
	height: 4px;
	margin: 6px 4px 22px;
	border-radius: 2px;
	background: currentColor;
	box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
}

@media (max-width: 767px) {
	.rt-cuentos .rt-section-logo img {
		height: 54px;
	}
}

.rt-carousel__track {
	align-items: flex-start;
}

@media (max-width: 767px) {
	.rt-footer__cols > .rt-footer__brand,
	.rt-footer__cols > .rt-footer__menu {
		flex-grow: 0 !important;
	}
	.rt-footer__cols > .rt-footer__menu:last-child {
		flex-basis: 46% !important;
		margin-left: 7% !important;
	}
	.rt-cuentos .rt-section-logo { margin-bottom: -21px !important; }
	.rt-cuentos__inner .rt-intro { margin-bottom: 14px !important; }
	.rt-canciones .rt-section-logo img { width: auto; height: 50px; }
	.rt-canciones .rt-section-logo { margin-bottom: -33px !important; }
	.rt-personalizadas .rt-section-logo img { width: 291px; height: auto; }
	.rt-hero { margin-top: -77px !important; padding: 95px 10px 51px; }
	.rt-header { min-height: 70px; }
}

@media (max-width: 767px) {
	.rt-hero { padding-bottom: 88px; }
	.rt-libros__row { gap: 20px !important; }
	.rt-libros__text p { margin-bottom: 14px !important; }
	.rt-sobremi { padding: 15px 5%; }
	.rt-section--reviews.rt-como-funciona { padding: 5% 0; }
	.rt-counter { padding: 14px 10px; }
	.rt-footer__copy { min-height: 0; }
}

@media (max-width: 767px) {
	.rt-carousel__btn--prev { left: 10px; }
	.rt-carousel__btn--next { right: 10px; }
	.rt-review__name.wp-block-heading { font-size: 14px; }
	.rt-hero__claim.wp-block-heading { padding: 0 20px; }
}

/* ---------- Página "Cuentos infantiles para dormir" (colaboraciones) ---------- */
.rt-oro { color: #F6B851; }

.rt-cpd-sub {
	background: rgba(190, 186, 213, 0.41);
	padding: 0 10px;
	font-family: var(--wp--preset--font-family--inter);
}

.rt-cpd-sub__row {
	max-width: 1280px !important;
	margin: 0 auto !important;
	gap: 20px !important;
	min-height: 93px;
}

.rt-cpd-sub__row > .wp-block-column {
	padding: 10px;
}

.rt-cpd-sub__brand {
	gap: 20px !important;
}

.rt-cpd-sub__titles {
	gap: 5px !important;
	padding: 10px;
}

.rt-cpd-sub__titles p,
.rt-cpd-sub__links p {
	margin: 0;
}

.rt-cpd-sub__name {
	font-size: 15px;
	line-height: 15px;
	color: #080E2C;
}

.rt-cpd-sub__by {
	font-size: 11px;
	line-height: 11px;
	text-transform: uppercase;
	color: #647177;
}

.rt-cpd-sub__links {
	gap: 16px !important;
}

.rt-cpd-sub__link {
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #595B74;
	transition: color 0.3s;
}

.rt-cpd-sub__link:hover {
	color: #080E2C;
}

/* Botones de la página de colaboraciones */
.rt-btn-noche .wp-block-button__link {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 500;
	line-height: 14px;
	text-transform: none;
	color: #F6B851;
	background: linear-gradient(264deg, #763288 0%, #171D5A 100%);
	border-radius: 50px;
	padding: 12px 24px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rt-btn-noche .wp-block-button__link:hover {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.rt-btn-arrow .wp-block-button__link::after {
	content: "";
	width: 12px;
	height: 14px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h306.7L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rt-cpd-hero {
	background-color: #CECECE;
	background-position: 141px -501px !important;
	padding: 8rem 0;
}

.rt-cpd-hero__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rt-cpd-hero__inner > * {
	margin: 0 !important;
}

.rt-cpd-pill {
	align-self: center;
	width: 320px;
	box-sizing: border-box;
	padding: 10px !important;
	gap: 20px !important;
	background: #221C5D;
	border: 1px solid #FFE5AB;
	border-radius: 50px;
}

.rt-cpd-pill p {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #FFE5AB;
}

.rt-cpd-pill__icon img {
	width: 15px;
	display: block;
}

.rt-cpd-title,
.rt-cpd-title.wp-block-heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 96px;
	font-weight: 600;
	line-height: 96px;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
}

.rt-cpd-title--oro {
	color: #F6B851;
}

.rt-cpd-divider {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	line-height: 14px;
	text-transform: uppercase;
	color: #fff;
}

.rt-cpd-divider::before,
.rt-cpd-divider::after {
	content: "";
	flex: 1;
	border-top: 1px solid #000;
}

.rt-cpd-lead {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 36px;
	font-weight: 500;
	line-height: 36px;
	color: #fff;
}

.rt-cpd-sublead {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 500;
	line-height: 20px;
	color: #fff;
	max-width: 670px;
	align-self: center;
}

.rt-cpd-buttons {
	padding: 10px;
	gap: 20px !important;
}

.rt-cpd-stats {
	padding: 10px;
	gap: 16px !important;
}

.rt-cpd-stat {
	gap: 5px !important;
}

.rt-cpd-stat p {
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	color: #fff;
}

.rt-cpd-stat__icon img {
	width: 14px;
	display: block;
}

@media (max-width: 1024px) {
	.rt-cpd-hero {
		background-position: 0 0 !important;
	}
}

@media (max-width: 767px) {
	.rt-cpd-sub__row {
		gap: 0 !important;
	}
	.rt-cpd-sub__brand {
		flex-direction: column;
		gap: 20px !important;
		text-align: center;
	}
	.rt-cpd-sub__logo img {
		width: 274px !important;
	}
	.rt-cpd-sub__titles {
		width: 100%;
		align-items: center !important;
	}
	.rt-cpd-sub .wp-block-buttons,
	.rt-cpd-sub .wp-block-button {
		width: 100%;
	}
	.rt-cpd-sub .rt-btn-noche .wp-block-button__link {
		width: 100%;
		justify-content: center;
		box-sizing: border-box;
	}
	.rt-cpd-pill {
		width: 100%;
	}
	.rt-cpd-buttons {
		flex-direction: column;
	}
}

/* ---------- Página "Canciones infantiles personalizadas" ---------- */
.rt-packs-hero {
	padding: 10% 0;
}

.rt-packs-hero__logo img {
	width: 600px;
}

.rt-packs.wp-block-columns {
	max-width: 1200px;
	margin: 2% auto !important;
	padding: 0 10px;
	gap: 20px !important;
	box-sizing: border-box;
	align-items: flex-start !important;
}

.rt-pack {
	background: rgba(100, 113, 119, 0.14);
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	font-size: 15.4px;
}

.rt-pack__head {
	background: #FEC8A4;
	border-radius: 10px;
	padding: 10px !important;
	gap: 0 !important;
	align-items: stretch !important;
}

.rt-pack__head > * {
	margin: 0 !important;
}

.rt-pack__icon img {
	width: 90px;
	height: 90px;
	opacity: 0.7;
}

.rt-pack__icon {
	padding-bottom: 5px;
}

.rt-pack__name.wp-block-heading {
	font-size: 17.6px;
	line-height: 50px;
	letter-spacing: 4px;
}

.rt-pack__claim.wp-block-heading {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 13.2px;
	font-weight: 500;
	line-height: 2px;
	letter-spacing: 0;
	color: #fff;
	white-space: nowrap;
	margin-inline: -10px !important;
}

.rt-pack__price-pill {
	background: #647177;
	border-radius: 35px;
	padding: 10px;
	margin: 15px 0 10px !important;
}

.rt-pack__price.wp-block-heading {
	font-size: 36px;
	line-height: 50px;
	letter-spacing: 4px;
	color: #fff;
}

.rt-pack__body {
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rt-pack__body > * {
	margin: 0 !important;
}

.rt-pack__body p,
.rt-pack__body li {
	font-size: 15.4px;
	line-height: 24px;
}

.rt-pack__text {
	margin-bottom: 14.4px !important;
}

.rt-feature {
	gap: 11px !important;
	align-items: flex-start !important;
}

.rt-feature + .rt-feature {
	margin-top: -7px !important;
}

.rt-feature__icon {
	flex: 0 0 42px;
}

.rt-feature__icon img {
	width: 42px;
	display: block;
}

.rt-feature__body {
	gap: 0 !important;
}

.rt-feature__body p {
	margin: 0 0 14.4px;
}

.rt-feature__body p:last-child {
	margin-bottom: 0;
}

.is-style-vinetas-melocoton {
	list-style: disc;
	padding-left: 5px;
	margin: 0;
	font-weight: 500;
}

.is-style-vinetas-melocoton li::marker {
	color: #fec8a4;
}

.rt-btn-comprar .wp-block-button__link {
	letter-spacing: 4px;
	background: #FEC8A4;
	color: #fff;
}

.rt-pack__note {
	font-size: 11px !important;
	margin-bottom: 14.4px !important;
}

.rt-extras {
	max-width: 800px;
	margin: 0 auto !important;
}

.rt-extras__body {
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rt-extras__body > * {
	margin: 0 !important;
}

.rt-extras__body p,
.rt-extras__body li {
	font-size: 15.4px;
	line-height: 24px;
}

.rt-extras__body p {
	margin-bottom: 14.4px !important;
}

.rt-extras__body ul {
	padding-left: 40px;
}

.rt-spacer-117 {
	margin: 0 !important;
}

.rt-ejemplos {
	background: #FEC8A4;
	padding: 5% 0;
}

.rt-ejemplos__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px;
	box-sizing: border-box;
}

.rt-ejemplos__inner > .wp-block-heading {
	margin-bottom: 20px;
}

.rt-ejemplos__grid {
	padding: 10px;
	gap: 20px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Bloque rt/flipbox */
.rt-flip {
	position: relative;
	height: 280px;
	border: 10px solid #fff;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	outline: none;
}

.rt-flip__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rt-flip__back {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 35px;
}

.rt-flip__overlay {
	position: absolute;
	inset: 0;
}

.rt-flip:hover .rt-flip__back,
.rt-flip:focus-within .rt-flip__back,
.rt-flip:focus .rt-flip__back {
	opacity: 1;
}

.rt-flip__content {
	position: relative;
}

.rt-flip__title {
	font-family: var(--wp--preset--font-family--moon);
	font-size: 20px;
	font-weight: 600;
	line-height: 30px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #647177;
	margin: 8px 0 16px;
}

.rt-flip__play {
	font-family: var(--wp--preset--font-family--moon);
	text-transform: uppercase;
	font-size: 16px;
	color: #fff;
	background: #FEC8A4;
	border: 2px solid #fff;
	border-radius: 3px;
	padding: 10px 24px;
	cursor: pointer;
}

.rt-flip__play:hover {
	background: #fff;
	color: #FEC8A4;
}

@media (max-width: 1024px) {
	.rt-ejemplos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.rt-packs.wp-block-columns {
		flex-direction: column;
		margin-top: 4% !important;
	}
	.rt-packs > .rt-pack {
		flex-basis: 100% !important;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.rt-packs-hero {
		padding: 39% 0 20%;
	}
	.rt-packs-hero__logo img {
		width: 85vw;
	}
	.rt-packs.wp-block-columns {
		margin-top: 10% !important;
	}
	.rt-extras {
		max-width: 320px;
	}
	.rt-ejemplos__grid > :nth-child(n+3) {
		display: none;
	}
}

/* Tamaños de los packs relativos al tamaño base (como el original: em) */
.rt-pack { font-size: 22px; }
.rt-pack__body p, .rt-pack__body li, .rt-extras__body p, .rt-extras__body li { font-size: 0.7em; }
.rt-pack .rt-pack__body p, .rt-pack .rt-pack__body li { font-size: calc(22px * 0.7); }
.rt-pack .rt-pack__note { font-size: calc(22px * 0.5) !important; }
.rt-pack .rt-pack__name.wp-block-heading { font-size: calc(22px * 0.8); }
.rt-pack .rt-pack__claim.wp-block-heading { font-size: calc(22px * 0.6); }

@media (max-width: 1024px) {
	.rt-pack .rt-pack__body p, .rt-pack .rt-pack__body li, .rt-extras .rt-extras__body p, .rt-extras .rt-extras__body li { font-size: 14px; }
	.rt-pack .rt-pack__note { font-size: 10px !important; }
	.rt-pack .rt-pack__name.wp-block-heading { font-size: 16px; }
	.rt-pack .rt-pack__claim.wp-block-heading { font-size: 12px; }
}

@media (max-width: 767px) {
	.rt-pack .rt-pack__body p, .rt-pack .rt-pack__body li, .rt-extras .rt-extras__body p, .rt-extras .rt-extras__body li { font-size: 12.6px; }
	.rt-pack .rt-pack__note { font-size: 9px !important; }
	.rt-pack .rt-pack__name.wp-block-heading { font-size: 14.4px; }
	.rt-pack .rt-pack__claim.wp-block-heading { font-size: 10.8px; }
	.rt-packs-hero { padding: 19% 0 20%; }
	.rt-ejemplos__grid { grid-template-columns: minmax(0, 1fr) !important; }
	.rt-flip { height: 280px; }
}

@media (max-width: 1024px) { .rt-pack .rt-pack__price.wp-block-heading { font-size: 30px; } }
@media (max-width: 767px) { .rt-pack .rt-pack__price.wp-block-heading { font-size: 26px; } }

/* ---------- Ficha de producto ---------- */
.rt-product {
	max-width: 1200px;
	margin: 2% auto 0 !important;
	padding: 0 10px;
	box-sizing: content-box;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rt-product > * {
	margin: 0 !important;
}

.rt-product__title.wp-block-post-title {
	font-family: var(--wp--preset--font-family--moon);
	font-size: 36px;
	font-weight: 500;
	line-height: 50px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #647177;
	background: #FEC8A4;
	border-radius: 25px;
	padding: 36px;
}

.rt-product__content {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.rt-product__content > * {
	margin: 0 !important;
}

.rt-product__text {
	margin-bottom: 14.4px !important;
}

.rt-product__content .is-style-vinetas-melocoton {
	padding-left: 40px;
	font-weight: 300;
}

.rt-product__note {
	margin-top: 24px !important;
}

.rt-product-form {
	background: rgba(100, 113, 119, 0.12);
	margin-top: 5% !important;
	padding: 0 5% 10%;
}

.rt-product-form__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.rt-product-form__title.wp-block-heading {
	margin: 5% 0 !important;
}

.rt-song-form {
	font-size: 22px;
	color: #647177;
}

.rt-song-form__field {
	margin: 0;
	padding: 0 0 15px;
}

.rt-song-form label {
	display: block;
	font-weight: 500;
	line-height: 24px;
}

.rt-song-form abbr.required {
	text-decoration: none;
	color: inherit;
}

.rt-song-form input[type="text"],
.rt-song-form textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 16px;
	line-height: 24px;
	padding: 8px 16px;
	border: 1px solid #666;
	border-radius: 3px;
	background: #fff;
	color: #000;
}

.rt-song-form textarea {
	min-height: 66px;
	resize: vertical;
}

.rt-song-form input:focus,
.rt-song-form textarea:focus {
	outline: 2px solid #FEC8A4;
	outline-offset: 0;
}

.rt-song-form__extras {
	border: 0;
	padding: 0;
	margin: 0 0 15px;
}

.rt-song-form__extras legend {
	padding: 0;
	line-height: 24px;
}

.rt-song-form__extras label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.1em;
	line-height: 40px;
}

.rt-song-form__extras input[type="checkbox"] {
	accent-color: orange;
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
}

.rt-song-form__hint {
	font-weight: 400;
	opacity: 0.75;
}

.rt-song-form__totals {
	display: grid;
	grid-template-columns: 1fr auto;
	padding: 20px 0;
	margin: 0;
	row-gap: 10px;
}

.rt-song-form__totals dt {
	font-weight: 700;
}

.rt-song-form__totals dd {
	margin: 0;
	text-align: right;
	color: #958e09;
	font-size: 1.25em;
}

.rt-product-form form.cart {
	display: block;
}

.rt-product-form .single_add_to_cart_button,
.rt-product-form .single_add_to_cart_button.wp-element-button {
	font-family: var(--wp--preset--font-family--moon);
	font-size: 22px;
	font-weight: 700;
	line-height: 22px;
	text-transform: uppercase;
	color: #647177;
	background: #FEC8A4;
	border: 0;
	border-radius: 3px;
	padding: 13.6px 22px;
	cursor: pointer;
}

.rt-product-form .single_add_to_cart_button:hover {
	background: #fbb68a;
}

.rt-product-form .quantity {
	display: none;
}

/* Formulario de contraseña (productos aún no publicados) */
.post-password-form {
	max-width: 500px;
	margin: 60px auto;
}

.post-password-form input[type="password"] {
	border: 1px solid #c36;
	border-radius: 3px;
	padding: 8px 16px;
	font-size: 16px;
}

.post-password-form input[type="submit"] {
	font-family: var(--wp--preset--font-family--moon);
	text-transform: uppercase;
	font-size: 21px;
	color: #647177;
	background: transparent;
	border: 1px solid #c36;
	border-radius: 3px;
	padding: 8px 16px;
	cursor: pointer;
}

@media (max-width: 767px) {
	.rt-product {
		margin-top: 30% !important;
	}
	.rt-product__title.wp-block-post-title {
		font-size: 26px;
		padding: 20px;
	}
	.rt-song-form {
		font-size: 18px;
	}
}

.rt-product-form {
	display: flow-root;
}

.rt-song-form label {
	margin: 0;
}

.rt-song-form textarea {
	height: 66px;
	min-height: 0;
}

.rt-song-form__extras label {
	margin: 0;
}

.rt-product__content .rt-feature__body p {
	margin: 0;
}

.rt-main--legal {
	margin-top: calc(15% + 15px) !important;
}

.rt-main--legal h5 {
	font-size: 20px;
	letter-spacing: 3px;
	line-height: 30px;
	margin: 52px 0 8px;
}

.rt-legal > h5:first-child {
	margin-top: 0;
}

.rt-main--legal p {
	font-weight: 500;
}

@media (max-width: 767px) {
	.rt-main--legal h5 { font-size: 16px; }
}

/* ---------- Carrito / pago ---------- */
.rt-main--woo {
	padding: 150px 10px 120px;
}

.rt-cart-empty {
	max-width: 750px;
	margin: 0 auto 20px !important;
	padding: 1em 2em 1em 3.5em;
	position: relative;
	background: #f6f5f8;
	border-top: 3px solid #1e85be;
	color: #515151;
	font-family: Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.rt-cart-empty::before {
	content: "";
	position: absolute;
	left: 1.5em;
	top: 1.1em;
	width: 16px;
	height: 16px;
	border: 2px solid #1e85be;
	border-top-width: 5px;
	border-radius: 2px;
	box-sizing: border-box;
}

.wp-block-woocommerce-cart .wp-element-button,
.wp-block-woocommerce-checkout .wp-element-button {
	background: #FEC8A4;
	color: #647177;
	font-family: var(--wp--preset--font-family--moon);
	text-transform: uppercase;
	border-radius: 3px;
}

.rt-main--woo { padding: 250px 10px 170px; }
.wp-block-woocommerce-empty-cart-block .rt-cart-empty { max-width: 1080px; font-size: 20px !important; padding: 1.05em 2em 1.05em 3em; }
@media (max-width: 767px) { .rt-main--woo { padding: 60px 10px; } }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px !important;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Columnas: se apilan a 767px como el diseño original (no a 782px como el núcleo). */
@media (max-width: 767px) {
	.wp-block-columns.rt-stack-767 {
		flex-wrap: wrap !important;
	}
	.wp-block-columns.rt-stack-767 > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Carrusel: una tarjeta por vista en tableta, como el original */
@media (max-width: 1024px) {
	.is-style-carrusel .rt-carousel__track > *,
	.is-style-carrusel:not(.is-ready) > * {
		flex-basis: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.rt-hero {
		padding: 62px 10px 5%;
	}
	.rt-hero__row > .wp-block-column:last-child {
		flex: 0 0 38% !important;
	}
	.rt-hero__moon img {
		width: 100%;
		max-width: 325px;
	}
	.rt-hero__logo img {
		height: auto;
		width: 100%;
		max-width: 412px;
	}
	.rt-hero__claim.wp-block-heading {
		font-size: 24px;
		line-height: 34px;
	}
}

.rt-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.rt-nav .wp-block-navigation-item:focus-within > .wp-block-navigation-item__content {
	color: #647177;
}

.rt-nav .wp-block-navigation-item:hover > .wp-block-navigation__submenu-icon {
	color: #647177;
}

@media (min-width: 1025px) {
	.rt-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 15px 20px !important;
	}
}

/* Editor: los SVG sin dimensiones intrínsecas necesitan un ancho explícito */
.editor-styles-wrapper .rt-hero__logo img { width: 407px !important; height: auto !important; }
.editor-styles-wrapper .rt-cuentos .rt-section-logo img { width: 557px !important; height: auto !important; }
.editor-styles-wrapper .rt-canciones .rt-section-logo img { width: 672px !important; height: auto !important; }
.editor-styles-wrapper .rt-personalizadas .rt-section-logo img { width: 666px !important; height: auto !important; }
.editor-styles-wrapper .rt-packs-hero__logo img { width: 600px !important; }
.editor-styles-wrapper [class*="rt-anim-"] { opacity: 1 !important; }
