/*
Theme Name: Carpa Rosa Gift Market
Theme URI: https://carparosagiftmarket.com
Author: ARTTEG Creative Solutions
Author URI: https://artteg.com
Description: Tema a la medida para Carpa Rosa Gift Market. Al activarlo crea automáticamente las páginas (Inicio, Renta de espacios, Novedades, Nosotros, Contacto y avisos legales), el menú, los productos de ejemplo y las imágenes. Incluye botón flotante de WhatsApp y mapa de Google. Todo se edita desde Apariencia > Personalizar, Páginas y Productos.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carparosa
*/

/* ============ Variables ============ */
:root {
	--cr-rosa: #e6178a;
	--cr-rosa-2: #ff5cb2;
	--cr-rosa-claro: #fdf0f7;
	--cr-rosa-borde: #f7d5e8;
	--cr-morado: #2a0734;
	--cr-morado-2: #4a1259;
	--cr-morado-3: #6e1c7c;
	--cr-texto: #2b1533;
	--cr-gris: #6f5d77;
	--cr-blanco: #ffffff;
	--cr-verde-wa: #25d366;
	--cr-radio: 18px;
	--cr-radio-lg: 28px;
	--cr-sombra: 0 10px 30px rgba(74, 18, 89, 0.10);
	--cr-sombra-lg: 0 20px 50px rgba(74, 18, 89, 0.18);
	--cr-ancho: 1200px;
	--cr-fuente: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cr-fuente-script: "Great Vibes", "TeX Gyre Chorus", cursive;
}

/* ============ Base ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--cr-fuente);
	font-size: 16px;
	line-height: 1.65;
	color: var(--cr-texto);
	background: #fff8fc;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cr-rosa); text-decoration: none; transition: color .2s, background .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--cr-morado-3); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--cr-morado); font-weight: 700; }
p { margin: 0 0 1em; }

.cr-wrap { width: 100%; max-width: var(--cr-ancho); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.cr-skip:focus { position: fixed; top: 10px; left: 10px; z-index: 9999; background: #fff; padding: 10px 16px; border-radius: 8px; clip: auto; width: auto; height: auto; }

.cr-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.cr-rosa { color: var(--cr-rosa); }

/* ============ Botones ============ */
.cr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
	border: 2px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
}
.cr-btn .cr-icon { font-size: 18px; transition: transform .2s; }
.cr-btn:hover .cr-icon { transform: translateX(3px); }
.cr-btn--rosa { background: linear-gradient(135deg, var(--cr-rosa-2), var(--cr-rosa)); color: #fff; box-shadow: 0 10px 24px rgba(230, 23, 138, .35); }
.cr-btn--rosa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(230, 23, 138, .45); }
.cr-btn--borde { border-color: rgba(255, 255, 255, .75); color: #fff; background: rgba(255, 255, 255, .06); }
.cr-btn--borde:hover { background: #fff; color: var(--cr-morado); }
.cr-btn--blanco { background: #fff; color: var(--cr-morado); box-shadow: var(--cr-sombra); }
.cr-btn--blanco:hover { color: var(--cr-rosa); transform: translateY(-2px); }
.cr-btn--wa { background: var(--cr-verde-wa); color: #fff; }
.cr-btn--wa:hover { color: #fff; background: #1ebe5a; transform: translateY(-2px); }
.cr-btn--sm { padding: 10px 18px; font-size: 14px; }
.cr-btn--block { width: 100%; }

.cr-link-flecha { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.cr-link-flecha .cr-icon { transition: transform .2s; }
.cr-link-flecha:hover .cr-icon { transform: translateX(4px); }

/* ============ Header ============ */
.cr-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(42, 7, 52, .92);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.admin-bar .cr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cr-header { top: 0; } }

.cr-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.cr-logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--cr-rosa-2); }
.cr-logo:hover { color: var(--cr-rosa-2); }
.cr-logo__techo { width: 120px; height: 24px; margin-bottom: 2px; }
.cr-logo__nombre { font-size: 24px; font-weight: 500; letter-spacing: .04em; }
.cr-logo__sub { font-size: 11px; letter-spacing: .42em; color: #fff; margin-top: 5px; padding-left: .42em; }
.cr-header .custom-logo { max-height: 64px; width: auto; }

.cr-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.cr-nav a { display: block; color: #fff; font-size: 15px; padding: 8px 14px; border-radius: 999px; position: relative; }
.cr-nav a:hover { color: var(--cr-rosa-2); }
.cr-nav .current-menu-item > a,
.cr-nav .current_page_item > a { font-weight: 600; }
.cr-nav .current-menu-item > a::after,
.cr-nav .current_page_item > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cr-rosa-2);
}

.cr-header__acciones { display: flex; align-items: center; gap: 6px; }
.cr-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; color: #fff; font-size: 21px;
	background: transparent; border: 0; cursor: pointer; padding: 0;
}
.cr-icon-btn:hover { background: rgba(255, 255, 255, .1); color: var(--cr-rosa-2); }
.cr-menu-toggle { display: none; }

.cr-buscador { display: none; background: var(--cr-morado); padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.cr-buscador.is-open { display: block; }
.cr-buscador form { display: flex; gap: 10px; }
.cr-buscador input[type="search"] {
	flex: 1; padding: 12px 18px; border-radius: 999px; border: 0; font: inherit; font-size: 15px;
}
.cr-buscador button { border: 0; }

/* ============ Hero ============ */
.cr-hero {
	position: relative; color: #fff; overflow: hidden;
	background-color: var(--cr-morado);
	background-size: cover; background-position: center right;
	padding: 90px 0 150px;
	border-bottom-left-radius: 50% 60px; border-bottom-right-radius: 50% 60px;
}
.cr-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(42, 7, 52, .97) 0%, rgba(42, 7, 52, .85) 38%, rgba(42, 7, 52, .35) 70%, rgba(42, 7, 52, .15) 100%);
}
.cr-hero .cr-wrap { position: relative; z-index: 1; }
.cr-hero__contenido { max-width: 640px; }
.cr-hero__script {
	font-family: var(--cr-fuente-script); font-weight: 400; color: var(--cr-rosa-2);
	font-size: clamp(56px, 8vw, 104px); line-height: .95; display: block; margin-bottom: 6px;
	text-shadow: 0 6px 30px rgba(230, 23, 138, .35);
}
.cr-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; margin-bottom: 18px; }
.cr-hero__texto { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 520px; margin-bottom: 32px; }
.cr-hero__botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Beneficios ============ */
.cr-beneficios { position: relative; z-index: 5; margin-top: -78px; }
.cr-beneficios__caja {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border-radius: var(--cr-radio-lg); box-shadow: var(--cr-sombra-lg); padding: 26px 10px;
}
.cr-beneficio { text-align: center; padding: 8px 16px; border-right: 1px solid var(--cr-rosa-borde); }
.cr-beneficio:last-child { border-right: 0; }
.cr-beneficio .cr-icon { font-size: 38px; color: var(--cr-rosa); margin-bottom: 10px; stroke-width: 1.5; }
.cr-beneficio p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--cr-texto); font-weight: 500; }

/* ============ Secciones ============ */
.cr-seccion { padding: 80px 0; }
.cr-seccion--tight { padding: 60px 0; }
.cr-seccion__cabecera { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.cr-seccion__cabecera h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 4px; }
.cr-seccion__cabecera p { margin: 0; color: var(--cr-gris); }
.cr-seccion__centro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.cr-seccion__centro h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cr-seccion__centro p { color: var(--cr-gris); }
.cr-kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cr-rosa); margin-bottom: 8px; }

/* ============ Productos ============ */
.cr-productos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cr-productos--grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cr-producto {
	background: #fff; border-radius: var(--cr-radio); box-shadow: var(--cr-sombra); overflow: hidden;
	display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.cr-producto:hover { transform: translateY(-6px); box-shadow: var(--cr-sombra-lg); }
.cr-producto__img { position: relative; aspect-ratio: 1 / 1; background: var(--cr-rosa-claro); overflow: hidden; }
.cr-producto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cr-producto:hover .cr-producto__img img { transform: scale(1.05); }
.cr-fav {
	position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255, 255, 255, .92); border: 0; color: var(--cr-rosa); font-size: 17px;
	display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.cr-fav.is-active svg { fill: var(--cr-rosa); }
.cr-etiqueta { position: absolute; top: 10px; left: 10px; background: var(--cr-rosa); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.cr-producto__info { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cr-producto__titulo { font-size: 15px; font-weight: 600; margin: 0; color: var(--cr-texto); }
.cr-producto__titulo a { color: inherit; }
.cr-producto__precio { color: var(--cr-rosa); font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.cr-producto .cr-btn { margin-top: auto; }

/* ============ Banner Renta ============ */
.cr-renta {
	position: relative; overflow: hidden; color: #fff;
	background-color: var(--cr-morado-2); background-size: cover; background-position: center;
}
.cr-renta::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(230, 23, 138, .93) 0%, rgba(160, 20, 120, .78) 40%, rgba(74, 18, 89, .82) 70%, rgba(42, 7, 52, .95) 100%);
}
.cr-renta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 70px 20px; }
.cr-renta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.cr-renta p { color: rgba(255, 255, 255, .9); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.cr-renta__lista { list-style: none; margin: 0; padding: 0 0 0 36px; border-left: 1px solid rgba(255, 255, 255, .25); }
.cr-renta__lista li { display: flex; align-items: center; gap: 16px; padding: 14px 0; font-weight: 500; }
.cr-renta__lista li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.cr-renta__lista .cr-icon { font-size: 26px; color: #fff; opacity: .95; }

/* ============ Comunidad ============ */
.cr-comunidad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cr-comunidad figure { margin: 0; border-radius: var(--cr-radio); overflow: hidden; box-shadow: var(--cr-sombra); position: relative; aspect-ratio: 4 / 3; background: var(--cr-rosa-claro); }
.cr-comunidad img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cr-comunidad figure:hover img { transform: scale(1.06); }
.cr-comunidad figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 600; font-size: 14px;
	background: linear-gradient(transparent, rgba(42, 7, 52, .8));
}

/* ============ Ubicación / Mapa ============ */
.cr-ubicacion { background: var(--cr-rosa-claro); }
.cr-ubicacion__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: stretch; }
.cr-tarjeta { background: #fff; border-radius: var(--cr-radio-lg); box-shadow: var(--cr-sombra); padding: 34px; }
.cr-datos { list-style: none; margin: 0 0 24px; padding: 0; }
.cr-datos li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--cr-rosa-borde); }
.cr-datos li:last-child { border-bottom: 0; }
.cr-datos .cr-icon { font-size: 22px; color: var(--cr-rosa); margin-top: 2px; }
.cr-datos strong { display: block; font-size: 14px; color: var(--cr-morado); }
.cr-datos span, .cr-datos a { color: var(--cr-gris); font-size: 15px; }
.cr-datos a:hover { color: var(--cr-rosa); }
.cr-botones-col { display: grid; gap: 12px; }
.cr-mapa { border-radius: var(--cr-radio-lg); overflow: hidden; box-shadow: var(--cr-sombra); min-height: 420px; background: #eee; }
.cr-mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============ Encabezado de páginas internas ============ */
.cr-page-hero {
	position: relative; color: #fff; text-align: center; padding: 80px 0 90px;
	background: radial-gradient(circle at 80% 20%, rgba(255, 92, 178, .45), transparent 45%), linear-gradient(135deg, var(--cr-morado) 0%, var(--cr-morado-3) 100%);
	border-bottom-left-radius: 50% 40px; border-bottom-right-radius: 50% 40px;
}
.cr-page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); margin: 0; }
.cr-page-hero .cr-hero__script { font-size: clamp(40px, 5vw, 64px); margin-bottom: 0; }
.cr-page-hero p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 14px auto 0; font-size: 17px; }

/* ============ Contenido editable (bloques) ============ */
.cr-contenido { padding: 70px 0 80px; }
.cr-contenido .cr-wrap > *:first-child { margin-top: 0; }
.entry-content { font-size: 17px; }
.entry-content > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--cr-ancho); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content ul li, .entry-content ol li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--cr-radio); }
.entry-content blockquote { border-left: 4px solid var(--cr-rosa); margin-left: 0; padding: 6px 0 6px 22px; font-style: italic; color: var(--cr-morado-3); }
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 1.5em; }
.entry-content .wp-block-column { flex: 1 1 240px; min-width: 0; }
.entry-content .wp-block-column > *:last-child { margin-bottom: 0; }
.entry-content .cr-caja,
.entry-content .wp-block-group.is-style-cr-caja,
.entry-content .wp-block-column.cr-caja {
	background: #fff; border-radius: var(--cr-radio); box-shadow: var(--cr-sombra); padding: 28px;
}
.entry-content .cr-caja h3 { margin-top: 0; color: var(--cr-rosa); }
.entry-content .wp-block-button__link { border-radius: 999px; background: linear-gradient(135deg, var(--cr-rosa-2), var(--cr-rosa)); color: #fff; font-weight: 600; padding: 14px 28px; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--cr-rosa); border: 2px solid var(--cr-rosa); }
.entry-content .cr-numero {
	display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center;
	background: var(--cr-rosa); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.entry-content .has-text-align-center { text-align: center; }
.entry-content .cr-banda {
	background: linear-gradient(135deg, var(--cr-morado) 0%, var(--cr-morado-3) 100%); color: #fff;
	border-radius: var(--cr-radio-lg); padding: 44px 34px; text-align: center;
}
.entry-content .cr-banda h2, .entry-content .cr-banda h3 { color: #fff; margin-top: 0; }
.entry-content .cr-banda p { color: rgba(255, 255, 255, .88); }

/* ============ Producto individual ============ */
.cr-producto-single { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.cr-producto-single__img { border-radius: var(--cr-radio-lg); overflow: hidden; box-shadow: var(--cr-sombra-lg); background: var(--cr-rosa-claro); }
.cr-producto-single h1 { font-size: clamp(28px, 3.5vw, 42px); }
.cr-producto-single .cr-producto__precio { font-size: 28px; }

/* ============ Lista de entradas / búsqueda ============ */
.cr-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cr-lista article { background: #fff; border-radius: var(--cr-radio); box-shadow: var(--cr-sombra); overflow: hidden; }
.cr-lista article .cr-lista__body { padding: 20px; }
.cr-lista h2 { font-size: 20px; }
.cr-paginacion { margin-top: 40px; text-align: center; }
.cr-paginacion .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; background: #fff; margin: 0 3px; box-shadow: var(--cr-sombra); padding: 0 12px; }
.cr-paginacion .current { background: var(--cr-rosa); color: #fff; }

/* ============ Footer ============ */
.cr-footer { background: var(--cr-morado); color: rgba(255, 255, 255, .82); padding: 64px 0 0; position: relative; overflow: hidden; }
.cr-footer::after {
	content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -140px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 92, 178, .22), transparent 70%); pointer-events: none;
}
.cr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; position: relative; z-index: 1; }
.cr-footer__marca p { margin-top: 18px; max-width: 280px; font-size: 15px; }
.cr-footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.cr-footer ul { list-style: none; margin: 0; padding: 0; }
.cr-footer li { margin-bottom: 8px; }
.cr-footer a { color: rgba(255, 255, 255, .82); font-size: 15px; }
.cr-footer a:hover { color: var(--cr-rosa-2); }
.cr-redes { display: flex; gap: 10px; }
.cr-redes a {
	width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
	display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff;
}
.cr-redes a:hover { background: var(--cr-rosa); border-color: var(--cr-rosa); color: #fff; }
.cr-footer__contacto li { display: flex; align-items: flex-start; gap: 12px; }
.cr-footer__contacto .cr-icon { font-size: 19px; margin-top: 3px; color: var(--cr-rosa-2); }
.cr-footer__bottom {
	margin-top: 50px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; position: relative; z-index: 1;
}
.cr-footer__bottom ul { display: flex; gap: 18px; }
.cr-footer__bottom a { font-size: 14px; }

/* ============ WhatsApp flotante ============ */
.cr-wa-flotante {
	position: fixed; right: 22px; bottom: 22px; z-index: 999;
	display: flex; align-items: center; gap: 10px;
}
.cr-wa-flotante__burbuja {
	background: #fff; color: var(--cr-texto); padding: 10px 16px; border-radius: 14px; font-size: 14px; font-weight: 500;
	box-shadow: var(--cr-sombra-lg); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: all .3s; pointer-events: none;
}
.cr-wa-flotante:hover .cr-wa-flotante__burbuja,
.cr-wa-flotante.is-saludo .cr-wa-flotante__burbuja { opacity: 1; transform: none; }
.cr-wa-flotante__btn {
	width: 62px; height: 62px; border-radius: 50%; background: var(--cr-verde-wa); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 32px;
	box-shadow: 0 10px 25px rgba(37, 211, 102, .45); position: relative;
}
.cr-wa-flotante__btn::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cr-verde-wa);
	animation: cr-pulso 2.2s infinite; z-index: -1;
}
.cr-wa-flotante__btn:hover { color: #fff; transform: scale(1.06); }
@keyframes cr-pulso { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ============ Ventana de correo ============ */
.cr-correo { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; }
.cr-correo.is-open { display: flex; }
.cr-correo__fondo { position: absolute; inset: 0; background: rgba(42, 7, 52, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cr-correo__caja {
	position: relative; background: #fff; border-radius: var(--cr-radio-lg); box-shadow: var(--cr-sombra-lg);
	padding: 32px 28px 28px; width: 100%; max-width: 400px; text-align: center; animation: cr-aparecer .25s ease;
}
.cr-correo__x {
	position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent;
	font-size: 28px; line-height: 1; color: var(--cr-gris); cursor: pointer; border-radius: 50%;
}
.cr-correo__x:hover { background: var(--cr-rosa-claro); color: var(--cr-rosa); }
.cr-correo__titulo { margin: 0; color: var(--cr-gris); font-size: 15px; }
.cr-correo__email { margin: 4px 0 22px; font-weight: 700; color: var(--cr-morado); font-size: 17px; word-break: break-all; }
.cr-correo__opciones { display: grid; gap: 10px; }
.cr-correo__opciones .cr-btn--blanco { border: 2px solid var(--cr-rosa-borde); box-shadow: none; }
.cr-correo__opciones .cr-btn--blanco:hover { border-color: var(--cr-rosa); transform: none; }
@keyframes cr-aparecer { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ============ 404 ============ */
.cr-404 { text-align: center; padding: 100px 0; }
.cr-404 .cr-hero__script { font-size: 120px; color: var(--cr-rosa); }

/* ============ Animación al hacer scroll ============ */
.cr-animar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.cr-animar.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.cr-animar { opacity: 1; transform: none; }
	.cr-wa-flotante__btn::before { animation: none; }
	html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
	.cr-productos { grid-template-columns: repeat(3, 1fr); }
	.cr-productos--grid { grid-template-columns: repeat(3, 1fr); }
	.cr-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.cr-menu-toggle { display: inline-flex; }
	.cr-header__acciones .cr-social-top { display: none; }
	.cr-nav {
		position: fixed; inset: 84px 0 auto 0; background: var(--cr-morado);
		padding: 10px 20px 24px; transform: translateY(-120%); transition: transform .3s; z-index: -1;
		box-shadow: 0 20px 40px rgba(0, 0, 0, .3); max-height: calc(100vh - 84px); overflow-y: auto;
	}
	.cr-nav.is-open { transform: none; }
	.cr-nav ul { flex-direction: column; gap: 0; }
	.cr-nav a { padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; font-size: 17px; }
	.cr-nav .current-menu-item > a::after, .cr-nav .current_page_item > a::after { display: none; }
	.cr-nav .current-menu-item > a, .cr-nav .current_page_item > a { color: var(--cr-rosa-2); }
	.cr-renta__grid { grid-template-columns: 1fr; padding: 56px 20px; }
	.cr-renta__lista { padding-left: 0; border-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
	.cr-renta__lista li + li { border-top: 0; }
	.cr-ubicacion__grid { grid-template-columns: 1fr; }
	.cr-producto-single { grid-template-columns: 1fr; gap: 30px; }
	.cr-lista { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.cr-header__inner { min-height: 72px; }
	.cr-nav { inset: 72px 0 auto 0; max-height: calc(100vh - 72px); }
	.cr-logo__techo { width: 96px; height: 18px; }
	.cr-logo__nombre { font-size: 19px; }
	.cr-logo__sub { font-size: 9px; }
	.cr-hero { padding: 60px 0 130px; background-position: 70% center; border-bottom-left-radius: 50% 30px; border-bottom-right-radius: 50% 30px; }
	.cr-hero::before { background: linear-gradient(180deg, rgba(42, 7, 52, .9) 0%, rgba(42, 7, 52, .82) 100%); }
	.cr-hero__texto { font-size: 16px; }
	.cr-hero__botones .cr-btn { width: 100%; }
	.cr-beneficios__caja { grid-template-columns: 1fr 1fr; padding: 10px; }
	.cr-beneficio { padding: 18px 10px; border-right: 0; }
	.cr-beneficio:nth-child(odd) { border-right: 1px solid var(--cr-rosa-borde); }
	.cr-beneficio:nth-child(-n+2) { border-bottom: 1px solid var(--cr-rosa-borde); }
	.cr-beneficio .cr-icon { font-size: 32px; }
	.cr-beneficio p { font-size: 14px; }
	.cr-seccion { padding: 56px 0; }
	.cr-productos, .cr-productos--grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.cr-producto__info { padding: 12px; }
	.cr-producto__titulo { font-size: 14px; }
	.cr-producto .cr-btn { padding: 10px 12px; font-size: 13px; }
	.cr-comunidad { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cr-renta__lista { grid-template-columns: 1fr; }
	.cr-tarjeta { padding: 24px; }
	.cr-mapa, .cr-mapa iframe { min-height: 320px; }
	.cr-footer__grid { grid-template-columns: 1fr; gap: 30px; }
	.cr-footer__bottom { flex-direction: column; text-align: center; align-items: center; }
	.cr-lista { grid-template-columns: 1fr; }
	.cr-wa-flotante { right: 16px; bottom: 16px; }
	.cr-wa-flotante__btn { width: 56px; height: 56px; font-size: 28px; }
	.cr-wa-flotante__burbuja { display: none; }
}
