/*
 * Yige Elementor Widgets — CSS general
 * Todos los selectores cuelgan de .yg-root (clase raíz de cada widget) para ganar
 * en especificidad a los estilos globales del Kit de Elementor y del tema.
 * Breakpoints: tablet ≤1024px · móvil ≤767px (los de Elementor por defecto).
 */

:root {
	--yg-paper: #fefcf6;
	--yg-paper-2: #f5eee0;
	--yg-ink: #160e0d;
	--yg-ink-2: #211614;
	--yg-ink-3: #2d1f1c;
	--yg-red: #b02a2f;
	--yg-red-deep: #861d22;
	--yg-red-soft: #f6dcd7;
	--yg-gold: #cc9900;
	--yg-gold-light: #e9c35b;
	--yg-text: #1e1513;
	--yg-muted: #6f625c;
	--yg-muted-ink: #b8aaa3;
	--yg-line: #e7dccb;
	--yg-line-ink: #3b2b27;
	--yg-white: #ffffff;

	--yg-font-sans: "Neue Haas Grotesk Display Pro", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--yg-font-zh: "Alibaba PuHuiTi", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	--yg-font-brush: "Ma Shan Zheng", "STKaiti", "KaiTi", serif;

	--yg-s-hero: clamp(2.4rem, 5.8vw, 5.2rem);
	--yg-s-h2: clamp(2.1rem, 4.8vw, 4.1rem);
	--yg-s-h3: clamp(1.3rem, 2vw, 1.6rem);
	--yg-s-lead: clamp(1.1rem, 1.6vw, 1.35rem);

	--yg-radius-l: 28px;
	--yg-radius-m: 18px;
	--yg-wrap: 1200px;
	--yg-gutter: 20px;
	--yg-header-h: 68px;
}

/* ============ Base ============ */

.yg-root,
.yg-root *,
.yg-root *::before,
.yg-root *::after { box-sizing: border-box; }

.yg-root {
	font-family: var(--yg-font-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--yg-text);
	-webkit-font-smoothing: antialiased;
	max-width: 100%;
	text-align: left;
}
.yg-root [hidden] { display: none !important; }
.yg-root p { margin: 0; }
.yg-root figure { margin: 0; }
.yg-root ul,
.yg-root ol { margin: 0; padding: 0; list-style: none; }
.yg-root img { max-width: 100%; border: 0; box-shadow: none; }
.yg-root a { text-decoration: none; }
.yg-root :focus-visible { outline: 2px solid var(--yg-gold); outline-offset: 3px; border-radius: 6px; }

.yg-root.yg-section {
	position: relative;
	padding-top: clamp(72px, 10vw, 140px);
	padding-bottom: clamp(72px, 10vw, 140px);
	background-color: var(--yg-paper);
	color: var(--yg-text);
	overflow: hidden;
	overflow: clip; /* recorta los glifos decorativos sin romper position: sticky */
}
.yg-root.yg-section--dark { background-color: var(--yg-ink); color: var(--yg-paper); }
.yg-root.yg-section--cream { background-color: var(--yg-paper-2); }

.yg-root .yg-wrap {
	position: relative;
	width: 100%;
	max-width: var(--yg-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--yg-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--yg-gutter), env(safe-area-inset-right, 0px));
}

.yg-root .yg-zh { font-family: var(--yg-font-zh); }
.yg-root .yg-brush { font-family: var(--yg-font-brush); font-weight: 400; }
.yg-root .yg-notice { padding: 10px 14px; border: 1px dashed currentColor; border-radius: 10px; font-size: .85rem; opacity: .8; }

/* ============ Tipografía ============ */

.yg-root .yg-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--yg-red);
}
.yg-root .yg-eyebrow::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.yg-root.yg-section--dark .yg-eyebrow { color: var(--yg-gold-light); }

.yg-root .yg-h {
	margin: 0;
	padding: 0;
	font-family: var(--yg-font-sans);
	font-weight: 700;
	font-stretch: 94%;
	letter-spacing: -.035em;
	line-height: 1.02;
	text-transform: none;
	color: inherit;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.yg-root .yg-h2 { font-size: var(--yg-s-h2); }
.yg-root .yg-h3 { font-size: var(--yg-s-h3); letter-spacing: -.02em; line-height: 1.15; }

.yg-root .yg-lead { font-size: var(--yg-s-lead); line-height: 1.5; color: var(--yg-muted); max-width: 60ch; }
.yg-root.yg-section--dark .yg-lead { color: var(--yg-muted-ink); }

.yg-root .yg-grad {
	background: linear-gradient(95deg, var(--yg-gold-light) 0%, var(--yg-gold) 45%, #e0523f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.yg-root .yg-red { color: var(--yg-red); }

/* ============ Botones y enlaces ============ */

.yg-root .yg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	font: 600 .975rem/1.2 var(--yg-font-sans);
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.yg-root .yg-btn:hover { transform: translateY(-1px); }
.yg-root .yg-btn--red,
.yg-root .yg-btn--red:visited { background-color: var(--yg-red); border-color: var(--yg-red); color: var(--yg-white); }
.yg-root .yg-btn--red:hover,
.yg-root .yg-btn--red:focus { background-color: var(--yg-red-deep); border-color: var(--yg-red-deep); color: var(--yg-white); }
.yg-root .yg-btn--ghost,
.yg-root .yg-btn--ghost:visited { background-color: transparent; border-color: currentColor; color: inherit; }
.yg-root.yg-section--dark .yg-btn--ghost { border-color: var(--yg-line-ink); color: var(--yg-paper); }
.yg-root .yg-btn--ghost:hover,
.yg-root.yg-section--dark .yg-btn--ghost:hover { background-color: transparent; border-color: var(--yg-gold-light); color: var(--yg-gold-light); }

.yg-root .yg-link,
.yg-root .yg-link:visited { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--yg-red); }
.yg-root .yg-link:hover { color: var(--yg-red-deep); }
.yg-root .yg-link__icon { display: inline-flex; transition: transform .2s ease; }
.yg-root .yg-link__icon svg { width: .9em; height: .9em; fill: currentColor; }
.yg-root .yg-link:hover .yg-link__icon { transform: translateX(4px); }
.yg-root.yg-section--dark .yg-link { color: var(--yg-gold-light); }

.yg-root .yg-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(22, 14, 13, .62);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--yg-paper);
	font-size: .82rem;
	font-weight: 500;
	line-height: 1.2;
}
.yg-root .yg-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yg-gold-light); }

.yg-root .yg-round {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--yg-line-ink);
	border-radius: 50%;
	background: var(--yg-ink-2);
	color: var(--yg-paper);
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s, border-color .2s, opacity .2s;
}
.yg-root .yg-round:hover,
.yg-root .yg-round:focus { background: var(--yg-ink-3); border-color: var(--yg-gold); color: var(--yg-paper); }
.yg-root .yg-round[disabled] { opacity: .35; cursor: default; }
.yg-root .yg-round svg { width: 18px; height: 18px; }

/* Cabeceras de sección reutilizables */
.yg-root .yg-sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 40px; }
.yg-root .yg-sechead__main { display: grid; gap: 16px; min-width: 0; }
.yg-root .yg-sechead .yg-lead { max-width: 42ch; }
.yg-root .yg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: 44px; }
.yg-root .yg-split__main { display: grid; gap: 18px; min-width: 0; }

/* ============ Header ============ */

.yg-root.yg-header { position: relative; z-index: 100; background-color: var(--yg-ink); color: var(--yg-paper); } /* fondo tinta: el header nunca transparenta el blanco del tema */
.yg-root .yg-header__bar {
	position: relative;
	background: rgba(22, 14, 13, .82);
	-webkit-backdrop-filter: saturate(160%) blur(18px);
	backdrop-filter: saturate(160%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s ease;
}
.yg-root.yg-header.is-scrolled .yg-header__bar { border-bottom-color: rgba(254, 252, 246, .08); } /* la línea solo aparece al bajar, sobre el contenido */
.yg-root.yg-header--fixed .yg-header__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 999; padding-top: env(safe-area-inset-top, 0px); }
body.admin-bar .yg-root.yg-header--fixed .yg-header__bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .yg-root.yg-header--fixed .yg-header__bar { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .yg-root.yg-header--fixed.is-scrolled .yg-header__bar { top: 0; } } /* ahí la barra de admin se va con el scroll */
.yg-root .yg-header__spacer { height: var(--yg-header-h); }
.elementor-editor-active .yg-root.yg-header--fixed .yg-header__bar { position: relative; top: auto; }
.elementor-editor-active .yg-root .yg-header__spacer { display: none; }

.yg-root .yg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.yg-root .yg-brand,
.yg-root .yg-brand:visited { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--yg-paper); }
.yg-root .yg-brand__logo { display: block; width: auto; height: 34px; max-width: none; flex: 0 0 auto; }
.yg-root .yg-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.yg-root .yg-brand__name { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yg-root .yg-brand__sub { font-family: var(--yg-font-zh); font-size: .68rem; letter-spacing: .12em; color: var(--yg-muted-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.yg-root .yg-nav { display: flex; align-items: center; gap: 28px; }
.yg-root .yg-header__end { display: flex; align-items: center; gap: 14px; min-width: 0; }
.yg-root .yg-cart,
.yg-root .yg-cart:visited {
	position: relative;
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 1px solid var(--yg-line-ink);
	border-radius: 50%;
	color: var(--yg-paper);
	font-size: 17px;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.yg-root .yg-cart:hover,
.yg-root .yg-cart:focus { border-color: var(--yg-gold-light); color: var(--yg-gold-light); }
.yg-root .yg-cart svg { width: 1em; height: 1em; fill: currentColor; }
.yg-root .yg-cart__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--yg-red);
	color: var(--yg-white);
	font-size: .68rem;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}
/* Los anclajes del menú no quedan tapados por el header fijo */
.elementor-widget[class*="elementor-widget-yige-"] { scroll-margin-top: var(--yg-header-h, 68px); }
.yg-root .yg-menu { display: flex; align-items: center; gap: 28px; }
.yg-root .yg-menu li { position: relative; margin: 0; padding: 0; }
.yg-root .yg-menu a,
.yg-root .yg-menu a:visited { display: block; padding: 6px 0; font-size: .9rem; line-height: 1.3; color: var(--yg-muted-ink); text-decoration: none; background: none; transition: color .2s; }
.yg-root .yg-menu a:hover,
.yg-root .yg-menu a:focus,
.yg-root .yg-menu a:active,
.yg-root .yg-menu .current-menu-item > a,
.yg-root .yg-menu .current-menu-ancestor > a { color: var(--yg-paper); }
.yg-root .yg-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	z-index: 5;
	min-width: 220px;
	padding: 8px 16px;
	border: 1px solid var(--yg-line-ink);
	border-radius: 14px;
	background: var(--yg-ink);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.yg-root .yg-menu li:hover > .sub-menu,
.yg-root .yg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.yg-root .yg-menu .sub-menu a { padding: 8px 0; }
.yg-root .yg-nav .yg-btn { min-height: 40px; padding: 8px 18px; font-size: .88rem; }

.yg-root .yg-burger {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--yg-paper);
	cursor: pointer;
	box-shadow: none;
}
.yg-root .yg-burger:hover,
.yg-root .yg-burger:focus { background: rgba(254, 252, 246, .08); color: var(--yg-paper); }
.yg-root .yg-burger__lines { position: relative; display: block; width: 22px; height: 12px; }
.yg-root .yg-burger__lines::before,
.yg-root .yg-burger__lines::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.yg-root .yg-burger__lines::before { top: 0; }
.yg-root .yg-burger__lines::after { top: 10px; }
.yg-root.yg-header.is-open .yg-burger__lines::before { top: 5px; transform: rotate(45deg); }
.yg-root.yg-header.is-open .yg-burger__lines::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
	.yg-root .yg-burger { display: inline-grid; }
	.yg-root .yg-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - var(--yg-header-h));
		overflow-y: auto;
		padding: 8px max(var(--yg-gutter), env(safe-area-inset-right, 0px)) 20px max(var(--yg-gutter), env(safe-area-inset-left, 0px));
		background: var(--yg-ink);
		border-bottom: 1px solid var(--yg-line-ink);
	}
	.yg-root.yg-header.is-open .yg-nav { display: flex; }
	.yg-root .yg-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.yg-root .yg-menu a { padding: 14px 0; border-bottom: 1px solid var(--yg-line-ink); font-size: 1.05rem; }
	.yg-root .yg-menu .sub-menu { position: static; min-width: 0; padding: 0 0 0 16px; border: 0; border-radius: 0; background: transparent; opacity: 1; visibility: visible; transform: none; }
	.yg-root .yg-nav .yg-btn { width: 100%; min-height: 48px; margin-top: 16px; }
}
@media (max-width: 767px) {
	.yg-root .yg-header__inner { min-height: 60px; gap: 12px; }
	.yg-root .yg-brand { gap: 10px; }
	.yg-root .yg-brand__logo { height: 28px; }
	.yg-root .yg-brand__name { font-size: .92rem; }
}

/* ============ Hero ============ */

.yg-root.yg-hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 0; }
.yg-root .yg-hero__bg {
	position: absolute;
	top: -4%;
	right: -6%;
	font-size: clamp(14rem, 34vw, 32rem);
	line-height: .85;
	color: var(--yg-red);
	opacity: .14;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}
.yg-root .yg-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; }
.yg-root .yg-hero__copy { display: grid; gap: 24px; max-width: 900px; min-width: 0; }
.yg-root .yg-hero__title { font-size: var(--yg-s-hero); font-weight: 750; letter-spacing: -.045em; line-height: .98; }
.yg-root .yg-hero__line { display: block; }
.yg-root.yg-hero .yg-lead { max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.yg-root .yg-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.yg-root .yg-hero__vert {
	writing-mode: vertical-rl;
	max-height: 440px;
	padding-left: 18px;
	border-left: 1px solid var(--yg-line-ink);
	font-family: var(--yg-font-zh);
	font-size: 1.05rem;
	letter-spacing: .45em;
	line-height: 2;
	color: var(--yg-muted-ink);
}
.yg-root .yg-hero__vert b { font-weight: 500; color: var(--yg-gold-light); }

.yg-root .yg-hero__media { display: flex; justify-content: center; margin-top: clamp(48px, 7vw, 88px); }
.yg-root .yg-hero__frame {
	--yg-p: 0;
	position: relative;
	width: calc(88% + 12% * var(--yg-p));
	max-width: 100%;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	border-radius: calc(var(--yg-radius-l) * (1 - var(--yg-p)));
	background: var(--yg-ink-2);
}
.yg-root .yg-hero__frame--static { width: 88%; }
.yg-root .yg-hero__img,
.yg-root .yg-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--yg-fx, 50%) var(--yg-fy, 40%);
	border-radius: 0;
	transform: scale(calc(1.08 - .08 * var(--yg-p)));
}
.yg-root .yg-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.yg-root .yg-hero__chips--frame { position: absolute; left: 20px; bottom: 20px; }
.yg-root.yg-hero picture { display: contents; }

/* Diseño "video o foto de fondo" */
.yg-root.yg-hero--bg {
	--yg-ov: var(--yg-ink);
	--yg-ov-a: .58;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: var(--yg-hero-h, clamp(560px, 88vh, 940px));
	padding-top: clamp(96px, 11vw, 150px);
	padding-bottom: clamp(72px, 9vw, 120px);
}
.yg-root .yg-hero__backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--yg-ink-2); }
.yg-root .yg-hero__cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--yg-fx, 50%) var(--yg-fy, 40%); border-radius: 0; }
.yg-root .yg-hero__overlay { position: absolute; inset: 0; background-color: var(--yg-ov); opacity: var(--yg-ov-a); }
.yg-root .yg-hero__overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--yg-ov) 0%, transparent 72%); opacity: .7; }
.yg-root.yg-hero--bg .yg-wrap { z-index: 1; }
.yg-root.yg-hero--bg .yg-hero__bg { z-index: 1; opacity: .1; }
.yg-root.yg-hero--bg .yg-hero__chips { margin-top: 4px; }
.yg-root.yg-hero--bg .yg-lead { color: rgba(254, 252, 246, .86); }

/* Colores invertidos: fondo claro y título rojo */
.yg-root.yg-hero--light { background-color: var(--yg-paper); color: var(--yg-text); }
.yg-root.yg-hero--light.yg-hero--bg { --yg-ov: var(--yg-paper); --yg-ov-a: .74; }
.yg-root.yg-hero--light .yg-hero__title { color: var(--yg-red); }
.yg-root.yg-hero--light .yg-grad { background-image: linear-gradient(95deg, var(--yg-red-deep) 0%, #a8740a 60%, var(--yg-gold) 100%); }
.yg-root.yg-hero--light .yg-eyebrow { color: var(--yg-red); }
.yg-root.yg-hero--light .yg-lead,
.yg-root.yg-hero--light.yg-hero--bg .yg-lead { color: #4b3f3a; }
.yg-root.yg-hero--light .yg-btn--ghost { border-color: rgba(30, 21, 19, .35); color: var(--yg-text); }
.yg-root.yg-hero--light .yg-btn--ghost:hover { border-color: var(--yg-red); color: var(--yg-red); }
.yg-root.yg-hero--light .yg-hero__vert { border-left-color: var(--yg-line); color: var(--yg-muted); }
.yg-root.yg-hero--light .yg-hero__vert b { color: var(--yg-red); }
.yg-root.yg-hero--light .yg-hero__bg { opacity: .08; }
.yg-root.yg-hero--light .yg-chip { background: rgba(254, 252, 246, .85); color: var(--yg-text); border: 1px solid var(--yg-line); }
.yg-root.yg-hero--light .yg-chip::before { background: var(--yg-red); }
.yg-root.yg-hero--light .yg-hero__frame { background: var(--yg-paper-2); }

@keyframes yg-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.yg-root .yg-hero__copy > * { animation: yg-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
	.yg-root .yg-hero__copy > :nth-child(2) { animation-delay: .08s; }
	.yg-root .yg-hero__copy > :nth-child(3) { animation-delay: .2s; }
	.yg-root .yg-hero__copy > :nth-child(4) { animation-delay: .3s; }
}
.elementor-editor-active .yg-root .yg-hero__copy > * { animation: none; }

@media (max-width: 767px) {
	.yg-root .yg-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-hero__vert { display: none; }
	.yg-root .yg-hero__frame { aspect-ratio: 4 / 5; }
	.yg-root .yg-hero__frame,
	.yg-root .yg-hero__frame--static { width: calc(100% - 2 * var(--yg-gutter)); }
	.yg-root .yg-hero__chips--frame { left: 12px; bottom: 12px; right: 12px; }
	.yg-root.yg-hero--bg { min-height: var(--yg-hero-h, 640px); justify-content: flex-end; padding-top: 120px; padding-bottom: 48px; }
	.yg-root .yg-hero__overlay::after { background: linear-gradient(0deg, var(--yg-ov) 0%, transparent 85%); opacity: .85; }
	.yg-root .yg-hero__cta .yg-btn { flex: 1 1 auto; }
}

/* ============ Highlights (carrusel) ============ */

.yg-root .yg-carousel__ctrl { display: flex; gap: 10px; }
.yg-root .yg-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: clamp(272px, 30vw, 370px);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 12px;
	padding-left: max(var(--yg-gutter), calc((100% - var(--yg-wrap)) / 2 + var(--yg-gutter)));
	padding-right: max(var(--yg-gutter), calc((100% - var(--yg-wrap)) / 2 + var(--yg-gutter)));
	scroll-padding-left: max(var(--yg-gutter), calc((100% - var(--yg-wrap)) / 2 + var(--yg-gutter)));
}
.yg-root .yg-track::-webkit-scrollbar { display: none; }
.yg-root .yg-hl {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 440px;
	padding: 28px;
	overflow: hidden;
	border: 1px solid var(--yg-line-ink);
	border-radius: var(--yg-radius-l);
	background: var(--yg-ink-2);
	scroll-snap-align: start;
}
.yg-root .yg-hl__tag { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yg-gold-light); }
.yg-root .yg-hl__title { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; color: var(--yg-paper); }
.yg-root .yg-hl__text { font-size: .95rem; color: var(--yg-muted-ink); }
.yg-root .yg-hl__art { display: flex; align-items: flex-end; margin-top: auto; }
.yg-root .yg-hl__glyph { font-size: 7.5rem; line-height: .9; color: var(--yg-red); }
.yg-root .yg-hl__glyph--gold { color: var(--yg-gold); }
.yg-root .yg-hl__glyph--light { color: var(--yg-paper); }
.yg-root .yg-hl__big { font-family: var(--yg-font-sans); font-size: 5.6rem; font-weight: 800; font-stretch: 110%; letter-spacing: -.05em; line-height: .9; }
.yg-root .yg-hl--photo { justify-content: flex-end; padding: 0; }
.yg-root .yg-hl--photo .yg-hl__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.yg-root .yg-hl--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 14, 13, 0) 25%, rgba(22, 14, 13, .55) 55%, rgba(22, 14, 13, .94) 100%); }
.yg-root .yg-hl__body { position: relative; z-index: 1; display: grid; gap: 10px; padding: 28px; }
.yg-root .yg-hl--accent { background: var(--yg-red); border-color: var(--yg-red); }
.yg-root .yg-hl--accent .yg-hl__tag { color: var(--yg-paper); }
.yg-root .yg-hl--accent .yg-hl__text { color: var(--yg-red-soft); }
.yg-root .yg-hl--accent .yg-hl__glyph { color: var(--yg-gold-light); }
.yg-root.yg-highlights--light .yg-round { background: var(--yg-white); border-color: var(--yg-line); color: var(--yg-text); }
.yg-root.yg-highlights--light .yg-round:hover,
.yg-root.yg-highlights--light .yg-round:focus { background: var(--yg-paper); border-color: var(--yg-red); color: var(--yg-red); }
.yg-root.yg-highlights--light .yg-hl { border-color: transparent; box-shadow: 0 18px 40px -28px rgba(22, 14, 13, .55); }
.yg-root .yg-tones { width: 100%; height: auto; }
.yg-root .yg-tones text { font-family: var(--yg-font-sans); font-size: 11px; fill: var(--yg-muted-ink); }
.yg-root .yg-tones .yg-tones__py { font-size: 15px; font-weight: 600; fill: var(--yg-paper); }
.yg-root .yg-tones .yg-tones__hz { font-family: var(--yg-font-zh); font-size: 15px; fill: var(--yg-gold-light); }
.yg-root .yg-tones line { stroke: var(--yg-line-ink); stroke-width: 1; }
.yg-root .yg-tones path { fill: none; stroke: var(--yg-red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
/* Texto debajo de la foto (más contraste). */
.yg-root.yg-highlights--below .yg-hl--photo { justify-content: flex-start; min-height: 0; padding: 0; background: var(--yg-ink-2); }
.yg-root.yg-highlights--below .yg-hl--photo .yg-hl__img { position: static; flex: 0 0 auto; height: auto; aspect-ratio: 4 / 3; }
.yg-root.yg-highlights--below .yg-hl--photo::after { content: none; }
.yg-root.yg-highlights--below .yg-hl--photo .yg-hl__body { flex: 1 1 auto; align-content: start; }
.yg-root.yg-highlights--below .yg-hl--photo .yg-hl__text { color: rgba(251, 246, 238, .86); }
.yg-root.yg-highlights--light.yg-highlights--below .yg-hl--photo { background: var(--yg-white); }
.yg-root.yg-highlights--light.yg-highlights--below .yg-hl--photo .yg-hl__tag { color: var(--yg-red); }
.yg-root.yg-highlights--light.yg-highlights--below .yg-hl--photo .yg-hl__title { color: var(--yg-text); }
.yg-root.yg-highlights--light.yg-highlights--below .yg-hl--photo .yg-hl__text { color: var(--yg-muted); }
@media (max-width: 767px) {
	.yg-root .yg-track { grid-auto-columns: 82%; }
	.yg-root .yg-hl { min-height: 400px; padding: 24px; }
	.yg-root .yg-hl__body { padding: 24px; }
	.yg-root.yg-highlights--below-mobile .yg-hl--photo { justify-content: flex-start; min-height: 0; padding: 0; background: var(--yg-ink-2); }
	.yg-root.yg-highlights--below-mobile .yg-hl--photo .yg-hl__img { position: static; flex: 0 0 auto; height: auto; aspect-ratio: 4 / 3; }
	.yg-root.yg-highlights--below-mobile .yg-hl--photo::after { content: none; }
	.yg-root.yg-highlights--below-mobile .yg-hl--photo .yg-hl__body { flex: 1 1 auto; align-content: start; }
	.yg-root.yg-highlights--below-mobile .yg-hl--photo .yg-hl__text { color: rgba(251, 246, 238, .86); }
	.yg-root.yg-highlights--light.yg-highlights--below-mobile .yg-hl--photo { background: var(--yg-white); }
	.yg-root.yg-highlights--light.yg-highlights--below-mobile .yg-hl--photo .yg-hl__tag { color: var(--yg-red); }
	.yg-root.yg-highlights--light.yg-highlights--below-mobile .yg-hl--photo .yg-hl__title { color: var(--yg-text); }
	.yg-root.yg-highlights--light.yg-highlights--below-mobile .yg-hl--photo .yg-hl__text { color: var(--yg-muted); }
}

/* ============ Testimonios ============ */

.yg-root.yg-testimonials--light { background-color: var(--yg-paper); }
.yg-root .yg-testimonials .yg-track,
.yg-root.yg-testimonials .yg-track { grid-auto-columns: clamp(240px, 24vw, 320px); }
.yg-root .yg-tm { justify-content: flex-end; min-height: 0; aspect-ratio: 9 / 16; padding: 0; border: 0; background: var(--yg-ink-2); }
.yg-root .yg-tm__media { position: absolute; inset: 0; }
.yg-root .yg-tm__poster,
.yg-root .yg-tm__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; background: #000; }
.yg-root .yg-tm::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(22, 14, 13, 0) 45%, rgba(22, 14, 13, .9) 100%); }
.yg-root .yg-tm__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	min-height: 0;
	margin: 0;
	padding: 0 0 0 4px;
	border: 0;
	border-radius: 50%;
	background: rgba(176, 42, 47, .92);
	color: var(--yg-white);
	box-shadow: 0 14px 30px -12px rgba(22, 14, 13, .7);
	transform: translate(-50%, -50%);
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}
.yg-root .yg-tm__play:hover,
.yg-root .yg-tm__play:focus { background: var(--yg-red); color: var(--yg-white); transform: translate(-50%, -50%) scale(1.07); }
.yg-root .yg-tm__play svg { width: 28px; height: 28px; }
.yg-root .yg-tm__body { position: relative; z-index: 1; display: grid; gap: 4px; padding: 22px; pointer-events: none; color: var(--yg-paper); }
.yg-root .yg-tm__quote { margin-bottom: 6px; font-size: .95rem; line-height: 1.45; }
.yg-root .yg-tm__name { font-weight: 700; }
.yg-root .yg-tm__detail { font-size: .85rem; color: var(--yg-gold-light); }
.yg-root .yg-tm.is-playing::after,
.yg-root .yg-tm.is-playing .yg-tm__body { display: none; }

/* Vista previa sin portada */
.yg-root .yg-tm__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; background: var(--yg-ink-2); color: var(--yg-gold-light); text-align: center; }
.yg-root .yg-tm__ph .yg-brush { font-size: 4.4rem; line-height: 1; opacity: .5; }
.yg-root .yg-tm__ph--instagram { padding-bottom: 46%; background: linear-gradient(140deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%); color: var(--yg-white); font-weight: 600; }

/* Botón "Ver más en YouTube" */
.yg-root .yg-tm__more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.yg-root .yg-tm__more .yg-btn svg,
.yg-root .yg-tm__more .yg-btn i { width: 1.25em; height: 1.25em; font-size: 1.25em; color: var(--yg-red); fill: currentColor; }
.yg-root.yg-section--dark .yg-tm__more .yg-btn svg,
.yg-root.yg-section--dark .yg-tm__more .yg-btn i { color: var(--yg-gold-light); }

/* Reproductor de YouTube / Instagram (ventana sobre la página) */
html.yg-modal-open { overflow: hidden; }
.yg-root .yg-tm-modal { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: var(--yg-paper); overflow: auto; }
.yg-root .yg-tm-modal:not([open]) { display: none; }
.yg-root .yg-tm-modal[open] { display: grid; place-items: center; }
.yg-root .yg-tm-modal:not(:modal)[open] { z-index: 99999; background: rgba(22, 14, 13, .88); }
.yg-root .yg-tm-modal::backdrop { background: rgba(22, 14, 13, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.yg-root .yg-tm-modal__box { position: relative; display: grid; gap: 12px; width: min(92vw, calc((100vh - 150px) * 9 / 16), 440px); width: min(92vw, calc((100dvh - 150px) * 9 / 16), 440px); padding-top: 56px; }
.yg-root .yg-tm-modal__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--yg-radius-m); background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.yg-root .yg-tm-modal__frame iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.yg-root .yg-tm-modal.is-instagram .yg-tm-modal__box { width: min(92vw, 420px); }
.yg-root .yg-tm-modal.is-instagram .yg-tm-modal__frame { aspect-ratio: auto; height: min(calc(100vh - 150px), 760px); height: min(calc(100dvh - 150px), 760px); background: var(--yg-white); }
.yg-root .yg-tm-modal__close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 1px solid rgba(254, 252, 246, .25); border-radius: 50%; background: rgba(254, 252, 246, .08); color: var(--yg-paper); box-shadow: none; cursor: pointer; transition: background-color .2s, border-color .2s; }
.yg-root .yg-tm-modal__close:hover,
.yg-root .yg-tm-modal__close:focus { border-color: var(--yg-gold-light); background: rgba(254, 252, 246, .16); color: var(--yg-paper); }
.yg-root .yg-tm-modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 24px; font-size: .9rem; line-height: 1.35; }
.yg-root .yg-tm-modal__caption { color: var(--yg-muted-ink); }
.yg-root .yg-tm-modal__source,
.yg-root .yg-tm-modal__source:visited { margin-left: auto; font-weight: 600; color: var(--yg-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.yg-root .yg-tm-modal__source::after { content: " \2197"; }
.yg-root .yg-tm-modal__source:hover { color: var(--yg-white); }
.yg-root.yg-testimonials--light .yg-round { background: var(--yg-white); border-color: var(--yg-line); color: var(--yg-text); }
.yg-root.yg-testimonials--light .yg-round:hover,
.yg-root.yg-testimonials--light .yg-round:focus { background: var(--yg-paper-2); border-color: var(--yg-red); color: var(--yg-red); }
@media (max-width: 767px) { .yg-root.yg-testimonials .yg-track { grid-auto-columns: 70%; } }

/* Las secciones quedan visibles bajo el header fijo al saltar a un anclaje */
.yg-root.yg-section { scroll-margin-top: var(--yg-header-h, 68px); }

/* ============ Manifiesto ============ */

.yg-root .yg-manifest__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.yg-root .yg-manifest__head { position: sticky; top: calc(var(--yg-header-h) + 40px); display: grid; gap: 24px; }
.yg-root .yg-manifest__item { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--yg-line); }
.yg-root .yg-manifest__item:first-child { border-top: 1px solid var(--yg-line); }
.yg-root .yg-manifest__label { font-size: 1.05rem; font-weight: 700; color: var(--yg-red); }
.yg-root .yg-manifest__text { font-size: 1.35rem; line-height: 1.35; letter-spacing: -.015em; }
@media (max-width: 1024px) {
	.yg-root .yg-manifest__grid { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-manifest__head { position: static; }
}
@media (max-width: 767px) { .yg-root .yg-manifest__text { font-size: 1.15rem; } }

/* ============ Cursos ============ */

.yg-root .yg-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.yg-root .yg-course {
	position: relative;
	display: flex;
	flex-direction: column;
	grid-column: span 6;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--yg-line);
	border-radius: var(--yg-radius-l);
	background: var(--yg-paper);
	color: var(--yg-text);
}
.yg-root .yg-course--w4 { grid-column: span 4; }
.yg-root .yg-course--w12 { grid-column: span 12; }
.yg-root .yg-course__img { aspect-ratio: 16 / 10; overflow: hidden; }
.yg-root .yg-course__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; transition: transform .6s ease; }
.yg-root .yg-course:hover .yg-course__img img { transform: scale(1.04); }
.yg-root .yg-course__body { display: grid; flex: 1; align-content: start; gap: 14px; padding: 28px; }
.yg-root .yg-course__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yg-root .yg-course__for { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yg-muted); }
.yg-root .yg-seal {
	display: inline-grid;
	place-items: center;
	min-width: 52px;
	height: 52px;
	padding: 0 10px;
	border-radius: 12px;
	background: var(--yg-red);
	color: var(--yg-paper);
	font-family: var(--yg-font-brush);
	font-size: 1.6rem;
	line-height: 1;
}
.yg-root .yg-course__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.yg-root .yg-course__text { color: var(--yg-muted); }
.yg-root .yg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.yg-root .yg-tags li { padding: 6px 12px; border: 1px solid var(--yg-line); border-radius: 999px; background: var(--yg-paper-2); font-size: .8rem; line-height: 1.3; }
.yg-root .yg-course--dark { background: var(--yg-ink); border-color: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-course--dark .yg-course__text { color: var(--yg-muted-ink); }
.yg-root .yg-course--dark .yg-seal { background: var(--yg-gold); color: var(--yg-ink); }
.yg-root .yg-course--dark .yg-course__for,
.yg-root .yg-course--dark .yg-link { color: var(--yg-gold-light); }
.yg-root .yg-course--dark .yg-tags li { background: var(--yg-ink-3); border-color: var(--yg-line-ink); }
.yg-root .yg-course--red { background: var(--yg-red); border-color: var(--yg-red); color: var(--yg-paper); }
.yg-root .yg-course--red .yg-course__text,
.yg-root .yg-course--red .yg-course__for { color: var(--yg-red-soft); }
.yg-root .yg-course--red .yg-seal { background: var(--yg-paper); color: var(--yg-red); }
.yg-root .yg-course--red .yg-link { color: var(--yg-paper); }
.yg-root .yg-course--red .yg-tags li { background: rgba(254, 252, 246, .12); border-color: rgba(254, 252, 246, .3); }
@media (max-width: 1024px) { .yg-root .yg-course--w4 { grid-column: span 6; } }
@media (max-width: 767px) {
	.yg-root .yg-course,
	.yg-root .yg-course--w4,
	.yg-root .yg-course--w12 { grid-column: span 12; }
	.yg-root .yg-course__body { padding: 24px; }
}

/* ============ Experiencia ============ */

.yg-root .yg-exp__head { display: grid; justify-items: center; gap: 24px; max-width: 980px; margin: 0 auto; text-align: center; }
.yg-root .yg-exp__title { font-size: clamp(2.4rem, 6vw, 5.2rem); }
.yg-root .yg-exp__copy { max-width: 720px; margin: clamp(28px, 4vw, 44px) auto 0; font-size: var(--yg-s-lead); line-height: 1.55; text-align: center; color: var(--yg-muted-ink); }
.yg-root .yg-exp__copy p + p { margin-top: 1em; }
.yg-root .yg-exp__copy strong,
.yg-root .yg-exp__copy b { font-weight: 600; color: var(--yg-paper); }
.yg-root .yg-exp__media { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; margin-top: clamp(48px, 7vw, 80px); }
.yg-root .yg-exp__fig { position: relative; min-height: 0; overflow: hidden; border-radius: var(--yg-radius-l); }
.yg-root .yg-exp__fig img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.yg-root .yg-exp__fig--tall { aspect-ratio: 4 / 5; }
.yg-root .yg-exp__stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 0; }
.yg-root .yg-exp__stack .yg-exp__fig img { position: absolute; inset: 0; }
.yg-root .yg-stats { display: grid; grid-template-columns: repeat(var(--yg-cols, 3), minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--yg-line-ink); }
.yg-root .yg-stat { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 28px 24px 0 0; }
.yg-root .yg-stat + .yg-stat { padding-left: 24px; border-left: 1px solid var(--yg-line-ink); }
.yg-root .yg-stat__value { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 750; font-stretch: 105%; letter-spacing: -.045em; line-height: 1; }
.yg-root .yg-stat__label { max-width: 26ch; font-size: .95rem; color: var(--yg-muted-ink); }
@media (max-width: 767px) {
	.yg-root .yg-exp__media { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-exp__fig--tall { aspect-ratio: 4 / 3; }
	.yg-root .yg-exp__stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.yg-root .yg-exp__stack .yg-exp__fig { aspect-ratio: 1; }
	.yg-root .yg-stats { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-stat,
	.yg-root .yg-stat + .yg-stat { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--yg-line-ink); }
}

/* ============ Programa ============ */

.yg-root .yg-program__body { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 28px; align-items: start; }
.yg-root .yg-units { display: grid; gap: 6px; min-width: 0; }
.yg-root .yg-program__panels { min-width: 0; }
.yg-root .yg-unit-btn {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 14px;
	background: transparent;
	color: var(--yg-text);
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s, border-color .2s;
}
.yg-root .yg-unit-btn:hover,
.yg-root .yg-unit-btn:focus { background: var(--yg-paper-2); color: var(--yg-text); }
.yg-root .yg-unit-btn[aria-selected="true"] { background: var(--yg-white); border-color: var(--yg-line); box-shadow: 0 10px 30px -18px rgba(22, 14, 13, .35); }
.yg-root .yg-unit-btn__n { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--yg-muted); }
.yg-root .yg-unit-btn[aria-selected="true"] .yg-unit-btn__n { color: var(--yg-red); }
.yg-root .yg-unit-btn__t { font-size: .98rem; font-weight: 600; line-height: 1.25; }
.yg-root .yg-unit-btn__z { font-family: var(--yg-font-zh); font-size: .85rem; color: var(--yg-muted); }
.yg-root .yg-panel { min-width: 0; overflow: hidden; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-white); }
.yg-root .yg-panel__head { position: relative; display: grid; gap: 6px; padding: 32px; overflow: hidden; background: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-panel__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yg-gold-light); }
.yg-root .yg-panel__title { position: relative; z-index: 1; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.yg-root .yg-panel__py { position: relative; z-index: 1; color: var(--yg-muted-ink); }
.yg-root .yg-panel__glyph { position: absolute; top: 50%; right: 24px; transform: translateY(-50%); font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1; white-space: nowrap; color: var(--yg-red); opacity: .9; }
.yg-root .yg-lesson { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 24px 32px; border-top: 1px solid var(--yg-line); }
.yg-root .yg-lesson:first-child { border-top: 0; }
.yg-root .yg-lesson__num { padding-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yg-red); }
.yg-root .yg-lesson__hz { font-family: var(--yg-font-zh); font-size: 1.5rem; font-weight: 500; line-height: 1.3; }
.yg-root .yg-lesson__py { margin-left: 8px; font-size: .92rem; color: var(--yg-muted); }
.yg-root .yg-lesson__es { margin-top: 2px; font-weight: 600; }
.yg-root .yg-lesson__desc { max-width: 62ch; margin-top: 6px; font-size: .95rem; color: var(--yg-muted); }
@media (max-width: 1024px) {
	.yg-root .yg-program__body { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-units { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
	.yg-root .yg-unit-btn { scroll-snap-align: start; }
	.yg-root .yg-panel__glyph { display: none; }
}
@media (max-width: 767px) {
	.yg-root .yg-lesson { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 22px; }
	.yg-root .yg-panel__head { padding: 26px 22px; }
	.yg-root .yg-lesson__py { display: block; margin-left: 0; }
}

/* ============ Información de cursos ============ */

.yg-root .yg-ci { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.yg-root .yg-ci__tabs { display: grid; gap: 8px; min-width: 0; }
.yg-root .yg-ci__tab {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: transparent;
	color: var(--yg-text);
	font: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .2s, border-color .2s;
}
.yg-root .yg-ci__tab:hover,
.yg-root .yg-ci__tab:focus { background: rgba(254, 252, 246, .7); color: var(--yg-text); }
.yg-root .yg-ci__tab[aria-selected="true"] { background: var(--yg-white); border-color: var(--yg-line); box-shadow: 0 10px 30px -18px rgba(22, 14, 13, .35); }
.yg-root .yg-ci__seal { min-width: 46px; height: 46px; font-size: 1.35rem; background: var(--yg-paper-2); color: var(--yg-red); transition: background-color .2s, color .2s; }
.yg-root .yg-ci__tab[aria-selected="true"] .yg-ci__seal { background: var(--yg-red); color: var(--yg-paper); }
.yg-root .yg-ci__tab-text { display: grid; gap: 2px; min-width: 0; }
.yg-root .yg-ci__tab-name { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.yg-root .yg-ci__tab-price { font-size: .88rem; color: var(--yg-muted); font-variant-numeric: tabular-nums; }
.yg-root .yg-ci__tab-price del { margin-right: 4px; opacity: .7; }
.yg-root .yg-ci__tab-price ins { text-decoration: none; }

.yg-root .yg-ci__panels { min-width: 0; }
.yg-root .yg-ci__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); overflow: hidden; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-white); }
.yg-root .yg-ci__main { min-width: 0; }
.yg-root .yg-ci__head { position: relative; display: grid; gap: 10px; padding: 30px 32px; overflow: hidden; background: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-ci__badge { justify-self: start; padding: 5px 12px; border: 1px solid rgba(233, 195, 91, .45); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yg-gold-light); }
.yg-root .yg-ci__name { position: relative; z-index: 1; max-width: 22ch; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.yg-root .yg-ci__glyph { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; white-space: nowrap; color: var(--yg-red); opacity: .85; }
.yg-root .yg-ci__body { display: grid; gap: 22px; padding: 28px 32px 32px; }
.yg-root .yg-ci__keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.yg-root .yg-ci__keys li { padding: 14px 16px; border-radius: 14px; background: var(--yg-paper-2); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.yg-root .yg-ci__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.yg-root .yg-ci__features li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.45; }
.yg-root .yg-ci__features i,
.yg-root .yg-ci__features svg { flex: 0 0 auto; width: 1em; margin-top: .25em; font-size: .9em; color: var(--yg-red); fill: currentColor; }
.yg-root .yg-ci__promo { padding: 14px 18px; border-left: 3px solid var(--yg-gold); border-radius: 0 12px 12px 0; background: #fbf3dc; font-weight: 600; line-height: 1.45; }

.yg-root .yg-ci__aside { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--yg-line); background: var(--yg-paper); }
.yg-root .yg-ci__img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.yg-root .yg-ci__buy { display: grid; align-content: start; gap: 6px; padding: 26px 24px 28px; }
.yg-root .yg-ci__price { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 750; font-stretch: 105%; letter-spacing: -.035em; line-height: 1.05; color: var(--yg-red); font-variant-numeric: tabular-nums; }
.yg-root .yg-ci__price del { font-size: .55em; color: var(--yg-muted); }
.yg-root .yg-ci__price ins { text-decoration: none; }
.yg-root .yg-ci__price-note { font-size: .9rem; color: var(--yg-muted); }
.yg-root .yg-ci__price-label,
.yg-root .yg-pd__price-label { justify-self: start; align-self: flex-start; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--yg-red); color: var(--yg-white); font-size: .82rem; font-weight: 700; line-height: 1.3; }
.yg-root .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.yg-root .yg-ci__actions { display: grid; gap: 10px; margin-top: 16px; }
.yg-root .yg-ci__actions .yg-btn { width: 100%; }
.yg-root .yg-ci__actions .yg-btn svg,
.yg-root .yg-ci__actions .yg-btn i { width: 1em; font-size: 1em; fill: currentColor; }
.yg-root .yg-ci__details,
.yg-root .yg-ci__details:visited { border-color: rgba(30, 21, 19, .3); color: var(--yg-text); }
.yg-root .yg-ci__details:hover { border-color: var(--yg-red); color: var(--yg-red); }
.yg-root .yg-ci__cart.loading { opacity: .65; pointer-events: none; }
.yg-root .yg-ci__cart.added::after { content: "✓"; margin-left: 6px; }
.yg-root .yg-ci__actions .added_to_cart { justify-self: center; font-size: .9rem; font-weight: 600; color: var(--yg-red); }

.yg-root .yg-ci__extras { display: grid; gap: 16px; margin-top: 32px; padding: 26px 28px; border: 1px dashed var(--yg-line); border-radius: var(--yg-radius-m); }
.yg-root .yg-ci__extras-title { font-size: 1.2rem; letter-spacing: -.01em; }
.yg-root .yg-ci__extras-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.yg-root .yg-ci__extras-list li { display: grid; align-content: space-between; gap: 10px; padding: 18px; border-radius: 14px; background: var(--yg-white); }
.yg-root .yg-ci__extra-name { font-weight: 600; line-height: 1.35; }

@media (max-width: 1024px) {
	.yg-root .yg-ci { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-ci__tabs { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
	.yg-root .yg-ci__tab { scroll-snap-align: start; }
	.yg-root .yg-ci__panel { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-ci__aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--yg-line); }
	.yg-root .yg-ci__img { height: 100%; aspect-ratio: auto; }
	.yg-root .yg-ci__extras-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.yg-root .yg-ci__head { padding: 24px 22px; }
	.yg-root .yg-ci__glyph { display: none; }
	.yg-root .yg-ci__body { padding: 22px; }
	.yg-root .yg-ci__keys,
	.yg-root .yg-ci__features { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-ci__aside { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-ci__img { aspect-ratio: 16 / 9; }
	.yg-root .yg-ci__extras { padding: 22px; }
}

/* ============ Página de curso (producto de WooCommerce) ============ */

.yg-root.yg-product { --yg-pd-accent: var(--yg-red); padding-top: clamp(40px, 6vw, 80px); }
.yg-root .yg-pd__bg { position: absolute; top: 0; right: -4%; font-size: clamp(12rem, 30vw, 26rem); line-height: .85; color: var(--yg-red); opacity: .06; white-space: nowrap; pointer-events: none; user-select: none; }
.yg-root .yg-pd__notices { margin-bottom: 24px; }
.yg-root .yg-pd__notices .woocommerce-message,
.yg-root .yg-pd__notices .woocommerce-info,
.yg-root .yg-pd__notices .woocommerce-error { margin: 0 0 10px; border-radius: 14px; }
.yg-root .yg-pd__back,
.yg-root .yg-pd__back:visited { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-size: .92rem; font-weight: 600; color: var(--yg-muted); }
.yg-root .yg-pd__back:hover { color: var(--yg-pd-accent); }

.yg-root .yg-pd { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

.yg-root .yg-pd__media { position: sticky; top: calc(var(--yg-header-h) + 24px); display: grid; gap: 12px; min-width: 0; }
.yg-root .yg-pd__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--yg-radius-l); background: var(--yg-paper-2); }
.yg-root .yg-pd__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; transition: opacity .25s ease; }
.yg-root .yg-pd__img.is-swapping { opacity: .25; }
.yg-root .yg-pd__seal { position: absolute; top: 18px; left: 18px; box-shadow: 0 12px 30px -12px rgba(22, 14, 13, .55); }
.yg-root .yg-pd__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.yg-root .yg-pd__thumb {
	flex: 0 0 76px;
	width: 76px;
	height: 76px;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 14px;
	background: var(--yg-paper-2);
	box-shadow: none;
	opacity: .6;
	cursor: pointer;
	transition: opacity .2s, border-color .2s;
}
.yg-root .yg-pd__thumb:hover,
.yg-root .yg-pd__thumb:focus { opacity: 1; background: var(--yg-paper-2); }
.yg-root .yg-pd__thumb[aria-pressed="true"] { border-color: var(--yg-pd-accent); opacity: 1; }
.yg-root .yg-pd__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }

.yg-root .yg-pd__info { display: grid; gap: 24px; min-width: 0; }
.yg-root .yg-pd__intro { display: grid; gap: 16px; }
.yg-root .yg-pd__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.yg-root .yg-pd__badge { padding: 5px 12px; border: 1px solid var(--yg-line); border-radius: 999px; background: var(--yg-white); font-size: .75rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; color: var(--yg-text); }
.yg-root .yg-pd__title { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.yg-root .yg-pd__lead { font-size: var(--yg-s-lead); line-height: 1.5; color: var(--yg-muted); }
.yg-root .yg-pd__lead p + p { margin-top: .8em; }

.yg-root .yg-pd__keys { display: grid; grid-template-columns: repeat(var(--yg-cols, 3), minmax(0, 1fr)); gap: 10px; }
.yg-root .yg-pd__keys li { display: grid; align-content: start; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--yg-paper-2); line-height: 1.3; }
.yg-root .yg-pd__keys strong { font-size: .98rem; font-weight: 700; }
.yg-root .yg-pd__keys span { font-size: .86rem; color: var(--yg-muted); }
.yg-root .yg-map { display: grid; gap: 12px; }
.yg-root .yg-btn--soon { gap: 8px; border: 1.5px dashed var(--yg-line); background-color: var(--yg-paper-2); color: var(--yg-muted); cursor: not-allowed; }
.yg-root .yg-btn--soon svg { flex: 0 0 auto; }
.yg-root .yg-btn--wa,
.yg-root .yg-btn--wa:visited { gap: 10px; border-color: #25d366; background-color: #25d366; color: #0b3d1f; font-weight: 700; }
.yg-root .yg-btn--wa:hover,
.yg-root .yg-btn--wa:focus { border-color: #1ebe5b; background-color: #1ebe5b; color: #0b3d1f; }
.yg-root .yg-btn--wa svg { flex: 0 0 auto; }
.yg-root.yg-pay-off { display: grid; gap: 12px; justify-items: start; margin: 0 0 24px; padding: 18px 20px; border: 1px solid #e9c35b; border-radius: 16px; background: #fdf6e3; color: #1e1513; }
.yg-root.yg-pay-off p { margin: 0; }
.yg-root .yg-map--contact { margin-top: clamp(32px, 5vw, 56px); }
.yg-root .yg-map__title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.yg-root .yg-map__title svg { flex: 0 0 auto; color: var(--yg-red); }
.yg-root.yg-section--dark .yg-map__title svg { color: var(--yg-gold-light); }
.yg-root .yg-map__frame { position: relative; height: 320px; overflow: hidden; border-radius: var(--yg-radius-l); background: var(--yg-paper-2); }
.yg-root .yg-map--contact .yg-map__frame { height: 380px; }
.yg-root .yg-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.yg-root .yg-map__cover { position: absolute; inset: 0; display: none; }
.yg-root .yg-map__btn { justify-self: start; }
.yg-root .yg-pd-contact { display: grid; gap: 10px; margin-top: 18px; padding: 22px 24px; border-radius: var(--yg-radius-l); background: var(--yg-red); color: var(--yg-white); box-shadow: 0 24px 50px -36px rgba(179, 38, 43, .9); }
.yg-root .yg-pd-contact__title { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.35; color: var(--yg-white); }
.yg-root .yg-pd-contact__text { margin: 0; font-size: 1rem; font-weight: 600; color: var(--yg-gold-light); }
.yg-root .yg-pd-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.yg-root .yg-pd-contact__wa,
.yg-root .yg-pd-contact__wa:visited { gap: 10px; border-color: #25d366; background-color: #25d366; color: #0b3d1f; font-weight: 700; }
.yg-root .yg-pd-contact__wa:hover,
.yg-root .yg-pd-contact__wa:focus { border-color: #1ebe5b; background-color: #1ebe5b; color: #0b3d1f; }
.yg-root .yg-pd-contact__wa svg,
.yg-root .yg-pd-contact__wa i { width: 1.2em; font-size: 1.2em; fill: currentColor; }
.yg-root .yg-pd-contact__call,
.yg-root .yg-pd-contact__call:visited { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 700; color: var(--yg-white); text-decoration: underline; text-underline-offset: 4px; }
.yg-root .yg-pd-contact__call:hover { color: var(--yg-gold-light); }
.yg-root .yg-pd-contact__call svg,
.yg-root .yg-pd-contact__call i { width: 1em; font-size: 1em; fill: currentColor; }

.yg-root .yg-pd__buy { display: grid; gap: 14px; padding: 26px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-white); box-shadow: 0 24px 60px -40px rgba(22, 14, 13, .45); }
.yg-root .yg-pd__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.yg-root .yg-pd__price { font-size: clamp(2.2rem, 3.6vw, 2.9rem); font-weight: 750; font-stretch: 105%; letter-spacing: -.035em; line-height: 1.05; color: var(--yg-pd-accent); font-variant-numeric: tabular-nums; }
.yg-root .yg-pd__price del { font-size: .5em; color: var(--yg-muted); }
.yg-root .yg-pd__price ins { text-decoration: none; }
.yg-root .yg-pd__price-note { font-size: .92rem; color: var(--yg-muted); }
.yg-root .yg-pd__stock { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #2f7a3d; }
.yg-root .yg-pd__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.yg-root .yg-pd__stock.is-out { color: var(--yg-red); }
.yg-root .yg-pd__actions { display: grid; gap: 10px; }
.yg-root .yg-pd__actions .yg-btn { width: 100%; min-height: 54px; font-size: 1.02rem; }
.yg-root .yg-pd__actions .yg-btn svg,
.yg-root .yg-pd__actions .yg-btn i { width: 1em; font-size: 1em; fill: currentColor; }
.yg-root .yg-pd__cart.loading { opacity: .65; pointer-events: none; }
.yg-root .yg-pd__cart.added::after { content: "\2713"; margin-left: 6px; }
.yg-root .yg-pd__actions .added_to_cart { justify-self: center; font-size: .92rem; font-weight: 600; color: var(--yg-pd-accent); text-decoration: underline; text-underline-offset: 3px; }
.yg-root .yg-pd__help,
.yg-root .yg-pd__help:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--yg-text); }
.yg-root .yg-pd__help:hover { color: var(--yg-pd-accent); }
.yg-root .yg-pd__help svg,
.yg-root .yg-pd__help i { flex: 0 0 auto; width: 1.15em; font-size: 1.15em; color: #25d366; fill: #25d366; }
.yg-root .yg-pd__promo { padding: 14px 18px; border-left: 3px solid var(--yg-gold); border-radius: 0 12px 12px 0; background: #fbf3dc; font-weight: 600; line-height: 1.45; }

/* Producto variable: formulario nativo de WooCommerce */
.yg-root .yg-pd__form form.cart { display: grid; gap: 12px; margin: 0; }
.yg-root .yg-pd__form table.variations,
.yg-root .yg-pd__form table.variations tbody { display: block; width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.yg-root .yg-pd__form table.variations tr,
.yg-root .yg-pd__form table.variations th,
.yg-root .yg-pd__form table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.yg-root .yg-pd__form table.variations th { padding-bottom: 6px; font-size: .85rem; font-weight: 600; }
.yg-root .yg-pd__form table.variations td { padding-bottom: 4px; }
.yg-root .yg-pd__form select { width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--yg-line); border-radius: 12px; background-color: var(--yg-paper); font: inherit; color: var(--yg-text); }
.yg-root .yg-pd__form .reset_variations { display: inline-block; margin-top: 6px; font-size: .85rem; color: var(--yg-muted); }
.yg-root .yg-pd__form .single_variation_wrap { display: grid; gap: 12px; }
.yg-root .yg-pd__form .woocommerce-variation-price .price { font-size: 1.4rem; font-weight: 700; color: var(--yg-pd-accent); }
.yg-root .yg-pd__form .woocommerce-variation-add-to-cart,
.yg-root .yg-pd__form form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; }
.yg-root .yg-pd__form .quantity input { width: 84px; min-height: 54px; padding: 0 10px; border: 1px solid var(--yg-line); border-radius: 999px; text-align: center; font: inherit; }
.yg-root .yg-pd__form .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 54px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background-color: var(--yg-red);
	color: var(--yg-white);
	font: 600 1.02rem/1.2 var(--yg-font-sans);
	text-transform: none;
	cursor: pointer;
}
.yg-root .yg-pd__form .single_add_to_cart_button:hover { background-color: var(--yg-red-deep); color: var(--yg-white); }
.yg-root .yg-pd__form .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
/* Gana a los estilos de WooCommerce (button.button.alt) en productos variables. */
.yg-root .yg-pd__form button.single_add_to_cart_button.button,
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt,
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt.disabled { border: 0; border-radius: 999px; background-color: var(--yg-red); color: var(--yg-white); font: 600 1.02rem/1.2 var(--yg-font-sans); }
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt:hover,
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt:focus { background-color: var(--yg-red-deep); color: var(--yg-white); }
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt.disabled,
.yg-root .yg-pd__form button.single_add_to_cart_button.button.alt.disabled:hover { background-color: var(--yg-red); opacity: .45; cursor: not-allowed; }
.yg-root .yg-pd__form .woocommerce-variation-price .price del { font-size: .7em; font-weight: 400; color: var(--yg-muted); }
.yg-root .yg-pd__form .woocommerce-variation-price .price ins { text-decoration: none; }

/* Bloques del curso */
.yg-root .yg-pd-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: clamp(56px, 8vw, 110px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--yg-line); }
.yg-root .yg-pd-details--single { grid-template-columns: minmax(0, 1fr); }
.yg-root .yg-pd-details__main { display: grid; gap: clamp(44px, 6vw, 72px); min-width: 0; }
.yg-root .yg-pd-details__aside { position: sticky; top: calc(var(--yg-header-h) + 24px); display: grid; gap: 16px; min-width: 0; }
.yg-root .yg-pd-details--single .yg-pd-details__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.yg-root .yg-pd-block { display: grid; gap: 22px; min-width: 0; }
.yg-root .yg-pd-block__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.yg-root .yg-pd-block__text { max-width: 68ch; line-height: 1.7; }
.yg-root .yg-pd-block__text > * + * { margin-top: 1em; }
.yg-root .yg-pd-block__text ul { padding-left: 1.2em; list-style: disc; }
.yg-root .yg-pd-block__text ol { padding-left: 1.4em; list-style: decimal; }
.yg-root .yg-pd-block__text li + li { margin-top: .35em; }
.yg-root .yg-pd-block__text a { color: var(--yg-pd-accent); text-decoration: underline; }
.yg-root .yg-pd-block__text h2,
.yg-root .yg-pd-block__text h3,
.yg-root .yg-pd-block__text h4 { margin: 1.4em 0 0; font-family: var(--yg-font-sans); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: inherit; }
.yg-root .yg-pd-block__text img { height: auto; border-radius: var(--yg-radius-m); }

.yg-root .yg-pd-program { border-top: 1px solid var(--yg-line); }
.yg-root .yg-pd-program li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--yg-line); }
.yg-root .yg-pd-program__n { padding-top: 4px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--yg-pd-accent); }
.yg-root .yg-pd-program strong { font-size: 1.12rem; line-height: 1.3; }
.yg-root .yg-pd-program p { margin-top: 4px; font-size: .97rem; color: var(--yg-muted); }
.yg-root .yg-pd-units { display: grid; gap: 12px; }
.yg-root .yg-pd-unit { border: 1px solid var(--yg-line); border-radius: 18px; background: var(--yg-white); overflow: hidden; }
.yg-root .yg-pd-unit summary { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 20px 60px 20px 24px; list-style: none; cursor: pointer; }
.yg-root .yg-pd-unit summary::-webkit-details-marker { display: none; }
.yg-root .yg-pd-unit summary::after { content: "+"; position: absolute; top: 50%; right: 22px; font-size: 1.6rem; line-height: 1; color: var(--yg-pd-accent); transform: translateY(-50%); transition: transform .2s ease; }
.yg-root .yg-pd-unit[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.yg-root .yg-pd-unit__title { flex: 1 1 260px; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.yg-root .yg-pd-unit__zh { font-weight: 600; color: var(--yg-pd-accent); }
.yg-root .yg-pd-unit__count { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yg-muted); }
.yg-root .yg-pd-unit .yg-pd-program { margin: 0 24px; }
.yg-root .yg-pd-unit .yg-pd-program li:last-child { border-bottom: 0; }
.yg-root .yg-pd-program__pdf { margin-top: 22px; }
.yg-root .yg-pd__pdf,
.yg-root .yg-pd__pdf:visited { gap: 10px; border-color: var(--yg-line); color: var(--yg-text); }
.yg-root .yg-pd__pdf:hover,
.yg-root .yg-pd__pdf:focus { border-color: var(--yg-pd-accent); color: var(--yg-pd-accent); }
.yg-root .yg-pd__pdf svg,
.yg-root .yg-pd__pdf i { width: 1em; font-size: 1em; fill: currentColor; }

.yg-root .yg-pd-faq { display: grid; gap: 10px; }
.yg-root .yg-pd-faq details { border: 1px solid var(--yg-line); border-radius: 16px; background: var(--yg-white); }
.yg-root .yg-pd-faq summary { position: relative; padding: 18px 56px 18px 22px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
.yg-root .yg-pd-faq summary::-webkit-details-marker { display: none; }
.yg-root .yg-pd-faq summary::after { content: "+"; position: absolute; top: 50%; right: 20px; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--yg-pd-accent); transform: translateY(-50%); transition: transform .2s ease; }
.yg-root .yg-pd-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.yg-root .yg-pd-faq details p { padding: 0 22px 20px; color: var(--yg-muted); }

.yg-root .yg-pd-card { display: grid; gap: 18px; padding: 26px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-white); }
.yg-root .yg-pd-card .yg-pd-block__title { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
.yg-root .yg-pd-card--dark { border-color: var(--yg-ink); background: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-pd-features { display: grid; gap: 12px; }
.yg-root .yg-pd-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .97rem; line-height: 1.45; }
.yg-root .yg-pd-features i,
.yg-root .yg-pd-features svg { flex: 0 0 auto; width: 1em; margin-top: .25em; font-size: .9em; color: var(--yg-pd-accent); fill: currentColor; }
.yg-root .yg-pd-schedule li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--yg-line-ink); }
.yg-root .yg-pd-schedule li:first-child { padding-top: 0; border-top: 0; }
.yg-root .yg-pd-schedule strong { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yg-gold-light); }

/* Otros cursos */
.yg-root .yg-pd-related { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 110px); }
.yg-root .yg-pd-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.yg-root .yg-pd-rel { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-white); }
.yg-root .yg-pd-rel__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--yg-paper-2); }
.yg-root .yg-pd-rel__img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; transition: transform .6s ease; }
.yg-root .yg-pd-rel:hover .yg-pd-rel__img img { transform: scale(1.04); }
.yg-root .yg-pd-rel__seal { position: absolute; top: 14px; left: 14px; min-width: 44px; height: 44px; font-size: 1.3rem; }
.yg-root .yg-pd-rel__body { display: grid; flex: 1; align-content: start; gap: 10px; padding: 22px 24px 24px; }
.yg-root .yg-pd-rel__badge { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yg-muted); }
.yg-root .yg-pd-rel__name { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.15; }
.yg-root .yg-pd-rel__name a,
.yg-root .yg-pd-rel__name a:visited { color: inherit; }
.yg-root .yg-pd-rel__name a:hover { color: var(--yg-pd-accent); }
.yg-root .yg-pd-rel__price { font-weight: 700; color: var(--yg-pd-accent); font-variant-numeric: tabular-nums; }
.yg-root .yg-pd-rel__price del { font-weight: 400; color: var(--yg-muted); }
.yg-root .yg-pd-rel__price ins { text-decoration: none; }

@media (max-width: 1024px) {
	.yg-root .yg-pd,
	.yg-root .yg-pd-details { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-pd__media,
	.yg-root .yg-pd-details__aside { position: static; }
	.yg-root .yg-pd { gap: 12px; }
	.yg-root .yg-pd__media { display: contents; }
	.yg-root .yg-pd__frame { order: 1; }
	.yg-root .yg-pd__thumbs { order: 2; }
	.yg-root .yg-pd__info { order: 3; margin-top: 18px; }
	.yg-root .yg-pd-contact { order: 4; margin-top: 18px; }
	.yg-root .yg-pd-details__aside { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
	.yg-root .yg-pd-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.yg-root.yg-product { padding-top: 28px; }
	.yg-root .yg-pd__back { margin-bottom: 18px; }
	.yg-root .yg-pd__frame { border-radius: var(--yg-radius-m); }
	.yg-root .yg-pd__seal { top: 12px; left: 12px; min-width: 44px; height: 44px; font-size: 1.3rem; }
	.yg-root .yg-pd__thumb { flex-basis: 62px; width: 62px; height: 62px; border-radius: 12px; }
	.yg-root .yg-pd__keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-root .yg-pd-contact { padding: 20px; }
	.yg-root .yg-map__frame,
	.yg-root .yg-map--contact .yg-map__frame { height: 260px; }
	.yg-root .yg-map__cover { display: block; }
	.yg-root .yg-map__btn { justify-self: stretch; }
	.yg-root .yg-pd-contact__wa { width: 100%; }
	.yg-root .yg-pd__buy,
	.yg-root .yg-pd-card { padding: 22px; border-radius: var(--yg-radius-m); }
	.yg-root .yg-pd-program li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
	.yg-root .yg-pd-unit summary { padding: 16px 50px 16px 18px; }
	.yg-root .yg-pd-unit .yg-pd-program { margin: 0 18px; }
	.yg-root .yg-pd-program__pdf .yg-btn { width: 100%; }
	.yg-root .yg-pd-faq summary { padding: 16px 50px 16px 18px; }
	.yg-root .yg-pd-faq details p { padding: 0 18px 18px; }
	.yg-root .yg-pd-related__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============ Carrito y Finalizar compra (WooCommerce) ============ */
/* Reescribe los estilos clásicos de WooCommerce solo dentro de .yg-shop. */

.yg-root.yg-shop {
	--yg-shop-accent: var(--yg-red);
	--yg-shop-accent-2: var(--yg-red-deep);
	--yg-shop-box: var(--yg-white);
	--yg-shop-field: var(--yg-paper);
	--yg-pd-accent: var(--yg-shop-accent);
	padding-top: clamp(36px, 5vw, 72px);
}
.yg-root .yg-shop__bg { position: absolute; top: 0; right: -3%; font-size: clamp(10rem, 26vw, 22rem); line-height: .85; color: var(--yg-shop-accent); opacity: .06; white-space: nowrap; pointer-events: none; user-select: none; }

/* Encabezado y pasos */
.yg-root .yg-shop__head { position: relative; display: grid; gap: 28px; margin-bottom: clamp(28px, 4vw, 48px); }
.yg-root .yg-shop__intro { display: grid; gap: 14px; }
.yg-root .yg-shop__title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.yg-root .yg-shop__hl { color: var(--yg-shop-accent); }
.yg-root .yg-shop__lead { max-width: 56ch; }

.yg-root .yg-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.yg-root .yg-steps__item { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; line-height: 1.2; color: var(--yg-muted); }
.yg-root .yg-steps__item + .yg-steps__item::before { content: ""; flex: 0 0 auto; width: clamp(16px, 4vw, 44px); height: 1px; background: var(--yg-line); }
.yg-root .yg-steps__link,
.yg-root .yg-steps__link:visited { display: flex; align-items: center; gap: 10px; color: inherit; }
.yg-root .yg-steps__link:hover { color: var(--yg-shop-accent); }
.yg-root .yg-steps__n { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border: 1px solid var(--yg-line); border-radius: 50%; background: var(--yg-white); font-size: .8rem; font-weight: 700; color: var(--yg-muted); }
.yg-root .yg-steps__item.is-done,
.yg-root .yg-steps__item.is-current { color: var(--yg-text); }
.yg-root .yg-steps__item.is-done .yg-steps__n { border-color: var(--yg-ink); background: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-steps__item.is-current .yg-steps__n { border-color: var(--yg-shop-accent); background: var(--yg-shop-accent); color: var(--yg-white); box-shadow: 0 0 0 4px var(--yg-red-soft); }

/* Cajas, títulos y botones comunes */
.yg-root .yg-shop__boxtitle { margin-bottom: 18px; font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.02em; line-height: 1.15; }
.yg-root.yg-shop .woocommerce { max-width: 100%; }
.yg-root.yg-shop .woocommerce::before,
.yg-root.yg-shop .woocommerce::after { display: none; }
.yg-root.yg-shop .woocommerce form .form-row,
.yg-root.yg-shop .woocommerce form .form-row-first,
.yg-root.yg-shop .woocommerce form .form-row-last { float: none; width: auto; margin: 0; padding: 0; }

.yg-root.yg-shop .button,
.yg-root.yg-shop button.button,
.yg-root.yg-shop a.button,
.yg-root.yg-shop input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--yg-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--yg-ink);
	font: 600 .92rem/1.2 var(--yg-font-sans);
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.yg-root.yg-shop .button:hover,
.yg-root.yg-shop .button:focus { border-color: var(--yg-ink); background: var(--yg-ink); color: var(--yg-paper); }
.yg-root.yg-shop .button:disabled,
.yg-root.yg-shop .button.disabled { opacity: .45; cursor: not-allowed; }
.yg-root.yg-shop .button.alt,
.yg-root.yg-shop a.yg-shop__cta,
.yg-root.yg-shop .yg-shop__cta.button {
	border-color: var(--yg-shop-accent);
	background: var(--yg-shop-accent);
	color: var(--yg-white);
}
.yg-root.yg-shop .button.alt:hover,
.yg-root.yg-shop a.yg-shop__cta:hover,
.yg-root.yg-shop a.yg-shop__cta:focus { border-color: var(--yg-shop-accent-2); background: var(--yg-shop-accent-2); color: var(--yg-white); }
.yg-root.yg-shop .yg-shop__cta svg { flex: 0 0 auto; transition: transform .2s ease; }
.yg-root.yg-shop .yg-shop__cta:hover svg { transform: translateX(3px); }

/* Campos */
.yg-root.yg-shop .woocommerce form .form-row label,
.yg-root.yg-shop .woocommerce form .form-row > label { display: block; margin: 0 0 6px; font-size: .85rem; font-weight: 600; line-height: 1.3; color: var(--yg-text); }
.yg-root.yg-shop .woocommerce form .form-row .required { color: var(--yg-shop-accent); text-decoration: none; border: 0; }
.yg-root.yg-shop .woocommerce form .form-row .optional { font-weight: 400; color: var(--yg-muted); }
.yg-root.yg-shop .woocommerce .input-text,
.yg-root.yg-shop .woocommerce form .form-row .input-text,
.yg-root.yg-shop .woocommerce form .form-row select,
.yg-root.yg-shop .woocommerce form .form-row textarea {
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--yg-line);
	border-radius: 12px;
	background-color: var(--yg-shop-field);
	box-shadow: none;
	font: 400 1rem/1.4 var(--yg-font-sans);
	color: var(--yg-text);
	transition: border-color .2s, box-shadow .2s;
}
.yg-root.yg-shop .woocommerce form .form-row textarea { min-height: 110px; resize: vertical; }
.yg-root.yg-shop .woocommerce .input-text:focus,
.yg-root.yg-shop .woocommerce form .form-row select:focus,
.yg-root.yg-shop .woocommerce form .form-row textarea:focus { border-color: var(--yg-shop-accent); outline: 0; box-shadow: 0 0 0 3px rgba(176, 42, 47, .14); }
.yg-root.yg-shop .woocommerce form .form-row.woocommerce-invalid .input-text,
.yg-root.yg-shop .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--yg-shop-accent); }
.yg-root.yg-shop .woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.yg-root.yg-shop .woocommerce form .form-row .woocommerce-input-wrapper strong { display: block; padding: 12px 0; }
.yg-root.yg-shop .select2-container { width: 100% !important; }
.yg-root.yg-shop .woocommerce form .form-row .select2-container .select2-selection--single { height: 50px; border: 1px solid var(--yg-line); border-radius: 12px; background-color: var(--yg-shop-field); }
.yg-root.yg-shop .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered { display: block; height: 48px; margin: 0; padding: 0 36px 0 16px; line-height: 48px; color: var(--yg-text); }
.yg-root.yg-shop .woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 10px; height: 48px; }
.yg-root.yg-shop .woocommerce form .form-row input[type="checkbox"],
.yg-root.yg-shop .woocommerce #payment input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--yg-shop-accent); vertical-align: -3px; }

/* Avisos de WooCommerce */
.yg-root.yg-shop .woocommerce-notices-wrapper:empty { display: none; }
.yg-root.yg-shop .woocommerce-message,
.yg-root.yg-shop .woocommerce-info,
.yg-root.yg-shop .woocommerce-error,
.yg-root.yg-shop .woocommerce-notice {
	position: relative;
	margin: 0 0 16px;
	padding: 14px 18px 14px 48px;
	border: 1px solid var(--yg-line);
	border-left: 3px solid var(--yg-gold);
	border-radius: 14px;
	background: var(--yg-shop-box);
	font-size: .95rem;
	line-height: 1.45;
	color: var(--yg-text);
	list-style: none;
}
.yg-root.yg-shop .woocommerce-message { border-left-color: #2f7a3d; }
.yg-root.yg-shop .woocommerce-error { border-left-color: var(--yg-shop-accent); }
.yg-root.yg-shop .woocommerce-message::before,
.yg-root.yg-shop .woocommerce-info::before,
.yg-root.yg-shop .woocommerce-error::before { top: 50%; left: 18px; transform: translateY(-50%); color: var(--yg-gold); }
.yg-root.yg-shop .woocommerce-message::before { color: #2f7a3d; }
.yg-root.yg-shop .woocommerce-error::before { color: var(--yg-shop-accent); }
.yg-root.yg-shop .woocommerce-error li { margin: 0; }
.yg-root.yg-shop .woocommerce-error li + li { margin-top: 4px; }
.yg-root.yg-shop .woocommerce-message .button,
.yg-root.yg-shop .woocommerce-info .button { float: none; order: 2; min-height: 36px; margin-left: 12px; padding: 6px 14px; font-size: .85rem; }
.yg-root.yg-shop .woocommerce-message a:not(.button),
.yg-root.yg-shop .woocommerce-info a:not(.button) { color: var(--yg-shop-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Avisos con formato de bloque (WooCommerce con temas de bloques) */
.yg-root.yg-shop .wc-block-components-notice-banner { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--yg-line); border-left: 3px solid var(--yg-gold); border-radius: 14px; background: var(--yg-shop-box); font-size: .95rem; color: var(--yg-text); }
.yg-root.yg-shop .wc-block-components-notice-banner.is-success { border-left-color: #2f7a3d; }
.yg-root.yg-shop .wc-block-components-notice-banner.is-error { border-left-color: var(--yg-shop-accent); }
.yg-root.yg-shop .wc-block-components-notice-banner > svg { border-radius: 50%; background-color: var(--yg-gold); }
.yg-root.yg-shop .wc-block-components-notice-banner.is-success > svg { background-color: #2f7a3d; }
.yg-root.yg-shop .wc-block-components-notice-banner.is-error > svg { background-color: var(--yg-shop-accent); }
.yg-root.yg-shop .wc-block-components-notice-banner .wc-forward,
.yg-root.yg-shop .wc-block-components-notice-banner .button { min-height: 34px; padding: 4px 14px; border: 0; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; background: none; color: var(--yg-text); opacity: 1; }
.yg-root.yg-shop .wc-block-components-notice-banner a:not(.button):not(.wc-forward) { color: var(--yg-shop-accent); font-weight: 600; }

/* Tarjeta de confianza */
.yg-root .yg-shop-trust { display: grid; gap: 16px; padding: 22px 24px; border: 1px dashed var(--yg-line); border-radius: var(--yg-radius-m); background: var(--yg-paper-2); }
.yg-root .yg-shop-trust__list { display: grid; gap: 12px; }
.yg-root .yg-shop-trust__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .93rem; line-height: 1.4; }
.yg-root .yg-shop-trust__icon { display: grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yg-white); color: var(--yg-gold); }
.yg-root .yg-shop-trust__icon svg,
.yg-root .yg-shop-trust__icon i { width: 14px; height: 14px; font-size: 14px; fill: currentColor; }
.yg-root .yg-shop-trust__help,
.yg-root .yg-shop-trust__help:visited { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 600; color: var(--yg-text); }
.yg-root .yg-shop-trust__list + .yg-shop-trust__help { padding-top: 14px; border-top: 1px solid var(--yg-line); }
.yg-root .yg-shop-trust__help:hover { color: var(--yg-shop-accent); }
.yg-root .yg-shop-trust__help svg,
.yg-root .yg-shop-trust__help i { flex: 0 0 auto; width: 1.2em; height: 1.2em; font-size: 1.2em; color: #25d366; fill: #25d366; }

/* ---------- Carrito ---------- */
.yg-root.yg-shop--cart .yg-shop__body > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.yg-root.yg-shop--cart .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
.yg-root.yg-shop--cart .woocommerce > .woocommerce-cart-form { grid-column: 1; margin: 0; padding: 26px 28px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); }
.yg-root.yg-shop--cart .woocommerce > .cart-collaterals { position: sticky; top: calc(var(--yg-header-h) + 24px); grid-column: 2; display: grid; gap: 16px; width: auto; }
.yg-root.yg-shop--cart .woocommerce > .woocommerce-notices-wrapper,
.yg-root.yg-shop--cart .woocommerce > .woocommerce-notices-wrapper .woocommerce-message { margin-bottom: 0; }

.yg-root.yg-shop table.shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; border-radius: 0; background: none; }
.yg-root.yg-shop table.shop_table th,
.yg-root.yg-shop table.shop_table td { padding: 0; border: 0; background: none; font-size: inherit; line-height: 1.4; text-align: left !important; vertical-align: middle; }
.yg-root.yg-shop table.shop_table tr:nth-child(2n) td,
.yg-root.yg-shop table.shop_table tbody > tr:nth-child(odd) > td,
.yg-root.yg-shop table.shop_table tbody > tr:nth-child(odd) > th,
.yg-root.yg-shop table.shop_table tbody tr:hover > td,
.yg-root.yg-shop table.shop_table tbody tr:hover > th { background: none; }
.yg-root.yg-shop table.shop_table td::before { display: none; content: none; }

.yg-root.yg-shop table.cart,
.yg-root.yg-shop table.cart tbody { display: block; }
.yg-root.yg-shop table.cart thead { display: none; }
.yg-root.yg-shop table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto minmax(90px, auto) 34px;
	grid-template-areas:
		"thumb name  qty sub remove"
		"thumb price qty sub remove";
	align-items: center;
	gap: 4px 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--yg-line);
}
.yg-root.yg-shop table.cart tr.cart_item:first-child { padding-top: 4px; }
.yg-root.yg-shop table.cart td.product-remove { grid-area: remove; justify-self: end; }
.yg-root.yg-shop table.cart td.product-thumbnail { display: block; grid-area: thumb; width: auto; min-width: 0; }
.yg-root.yg-shop table.cart td.product-name { grid-area: name; align-self: end; }
.yg-root.yg-shop table.cart td.product-price { grid-area: price; align-self: start; font-size: .9rem; color: var(--yg-muted); }
.yg-root.yg-shop table.cart td.product-quantity { grid-area: qty; }
.yg-root.yg-shop table.cart td.product-subtotal { grid-area: sub; justify-self: end; font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; color: var(--yg-shop-accent); font-variant-numeric: tabular-nums; }
.yg-root.yg-shop--cart.yg-cart--no-qty table.cart td.product-quantity { display: none; }
.yg-root.yg-shop table.cart td.product-thumbnail a { display: block; }
.yg-root.yg-shop table.cart td.product-thumbnail img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: none; }
.yg-root.yg-shop table.cart td.product-name > a,
.yg-root.yg-shop table.cart td.product-name > a:visited { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--yg-text); }
.yg-root.yg-shop table.cart td.product-name > a:hover { color: var(--yg-shop-accent); }
.yg-root.yg-shop table.cart td.product-name dl.variation { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 6px 0 0; font-size: .86rem; color: var(--yg-muted); }
.yg-root.yg-shop table.cart td.product-name dl.variation dt,
.yg-root.yg-shop table.cart td.product-name dl.variation dd,
.yg-root.yg-shop table.cart td.product-name dl.variation p { float: none; margin: 0; padding: 0; }
.yg-root.yg-shop table.cart td.product-name .backorder_notification { margin-top: 4px; font-size: .85rem; color: var(--yg-muted); }
.yg-root.yg-shop table.cart .quantity .qty { width: 72px; min-height: 44px; padding: 6px 8px; border: 1px solid var(--yg-line); border-radius: 999px; background: var(--yg-shop-field); text-align: center; font: inherit; }
.yg-root.yg-shop table.cart a.remove {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--yg-line);
	border-radius: 50%;
	background: transparent;
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	color: var(--yg-muted) !important;
	transition: background-color .2s, border-color .2s, color .2s;
}
.yg-root.yg-shop table.cart a.remove:hover { border-color: var(--yg-red-soft); background: var(--yg-red-soft); color: var(--yg-shop-accent) !important; }

.yg-root.yg-shop table.cart tr:not(.cart_item) { display: block; }
.yg-root.yg-shop table.cart td.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
.yg-root.yg-shop table.cart td.actions .coupon { display: flex; flex: 1 1 320px; flex-wrap: wrap; gap: 8px 0; float: none; padding: 0; }
.yg-root.yg-shop table.cart td.actions .coupon label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.yg-root.yg-shop table.cart td.actions .coupon .input-text { flex: 1 1 180px; width: auto; min-height: 46px; margin: 0 8px 0 0; border-radius: 999px; }
.yg-root.yg-shop table.cart td.actions > .button { float: none; margin-left: auto; }
.yg-root.yg-shop--cart.yg-cart--no-coupon table.cart td.actions .coupon,
.yg-root.yg-shop--cart.yg-cart--auto table.cart td.actions > .button[name="update_cart"] { display: none; }
.yg-root.yg-shop--cart.yg-cart--no-coupon.yg-cart--auto table.cart td.actions { padding: 0; }
.yg-root .yg-cart__continue { margin-top: 20px; }
.yg-root .yg-cart__continue .yg-link { font-size: .95rem; }
.yg-root .yg-cart__continue .yg-link::before { content: "\2190"; }

/* Resumen del carrito */
.yg-root.yg-shop .cart-collaterals .cart_totals { float: none; width: 100%; padding: 26px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); box-shadow: 0 24px 60px -40px rgba(22, 14, 13, .45); }
.yg-root.yg-shop .cart-collaterals .cart_totals > h2:not(.yg-shop__boxtitle) { display: none; }
.yg-root.yg-shop .cart_totals table.shop_table,
.yg-root.yg-shop .cart_totals table.shop_table tbody,
.yg-root.yg-shop .woocommerce-checkout-review-order-table,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tbody,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tfoot,
.yg-root.yg-shop table.order_details,
.yg-root.yg-shop table.order_details tbody,
.yg-root.yg-shop table.order_details tfoot { display: block; }
.yg-root.yg-shop .cart_totals table.shop_table tr,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tr,
.yg-root.yg-shop table.order_details tr { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--yg-line); }
.yg-root.yg-shop .cart_totals table.shop_table tbody th,
.yg-root.yg-shop .cart_totals table.shop_table tr th { display: block; font-weight: 500; color: var(--yg-muted); }
.yg-root.yg-shop .cart_totals table.shop_table td,
.yg-root.yg-shop .woocommerce-checkout-review-order-table td,
.yg-root.yg-shop table.order_details td { display: block; text-align: right !important; font-variant-numeric: tabular-nums; }
.yg-root.yg-shop .cart_totals tr.order-total,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tr.order-total,
.yg-root.yg-shop table.order_details tfoot tr:last-child { align-items: center; padding-top: 16px; border-top: 1px solid var(--yg-ink); }
.yg-root.yg-shop .cart_totals tr.order-total th,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tr.order-total th,
.yg-root.yg-shop table.order_details tfoot tr:last-child th { font-size: 1rem; font-weight: 700; color: var(--yg-text); }
.yg-root.yg-shop .cart_totals tr.order-total td,
.yg-root.yg-shop .woocommerce-checkout-review-order-table tr.order-total td,
.yg-root.yg-shop table.order_details tfoot tr:last-child td { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; color: var(--yg-shop-accent); }
.yg-root.yg-shop .order-total td strong { font-weight: inherit; }
.yg-root.yg-shop .order-total .includes_tax { display: block; font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--yg-muted); }
.yg-root.yg-shop .cart-discount td,
.yg-root.yg-shop .cart-discount td a { color: #2f7a3d; }
.yg-root.yg-shop .woocommerce-remove-coupon { margin-left: 6px; font-size: .82rem; }
.yg-root.yg-shop .woocommerce-shipping-destination,
.yg-root.yg-shop .woocommerce-shipping-calculator { font-size: .85rem; color: var(--yg-muted); }
.yg-root.yg-shop .wc-proceed-to-checkout { padding: 18px 0 0; }
.yg-root.yg-shop .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 56px; margin: 0; padding: 14px 24px; font-size: 1.02rem; }
.yg-root.yg-shop .cross-sells { margin-top: 12px; }
.yg-root.yg-shop .cross-sells > h2 { margin-bottom: 16px; font-size: 1.5rem; }

/* Carrito vacío */
.yg-root .yg-cart-empty { display: grid; gap: clamp(48px, 7vw, 90px); }
.yg-root .yg-cart-empty__box { display: grid; justify-items: center; gap: 16px; padding: clamp(36px, 6vw, 64px) 24px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); text-align: center; }
.yg-root .yg-cart-empty__glyph { display: grid; place-items: center; width: 128px; height: 128px; margin-bottom: 6px; border-radius: 50%; background: var(--yg-paper-2); font-size: 4.6rem; line-height: 1; color: var(--yg-shop-accent); }
.yg-root .yg-cart-empty__title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.yg-root .yg-cart-empty__text { max-width: 44ch; color: var(--yg-muted); }
.yg-root .yg-cart-empty__box .yg-btn { min-height: 54px; margin-top: 8px; padding-left: 30px; padding-right: 30px; }
.yg-root .yg-cart-empty__courses { margin-top: 0; }

/* ---------- Finalizar compra ---------- */
.yg-root.yg-shop--checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.yg-root.yg-shop--checkout .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px; }
.yg-root.yg-shop--checkout form.checkout_coupon,
.yg-root.yg-shop--checkout form.woocommerce-form-login { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 20px; padding: 18px; border: 1px dashed var(--yg-line); border-radius: var(--yg-radius-m); background: var(--yg-shop-box); }
.yg-root.yg-shop--checkout form.checkout_coupon > p:first-child,
.yg-root.yg-shop--checkout form.woocommerce-form-login > p:first-child { flex: 1 1 100%; font-size: .92rem; color: var(--yg-muted); }
.yg-root.yg-shop--checkout form.checkout_coupon .form-row-first { flex: 1 1 220px; }
.yg-root.yg-shop--checkout form.checkout_coupon .clear { display: none; }

.yg-root.yg-shop--checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(20px, 3vw, 36px); align-items: start; margin: 0; }
.yg-root.yg-shop--checkout form.checkout > * { grid-column: 1 / -1; min-width: 0; }
.yg-root.yg-shop--checkout form.checkout > #customer_details { grid-column: 1; }
.yg-root.yg-shop--checkout form.checkout > .yg-co__aside { position: sticky; top: calc(var(--yg-header-h) + 24px); grid-column: 2; display: grid; gap: 16px; }
.yg-root.yg-shop--checkout form.checkout > .woocommerce-NoticeGroup { margin: 0; }

.yg-root.yg-shop--checkout #customer_details { display: grid; gap: 28px; padding: 28px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); }
.yg-root.yg-shop--checkout #customer_details::before,
.yg-root.yg-shop--checkout #customer_details::after { display: none; }
.yg-root.yg-shop--checkout #customer_details .col-1,
.yg-root.yg-shop--checkout #customer_details .col-2 { display: grid; gap: 28px; float: none; width: 100%; max-width: none; padding: 0; }
.yg-root.yg-shop--checkout #customer_details .col-2:not(:has(.form-row)) { display: none; }
.yg-root.yg-shop--checkout .woocommerce-billing-fields > h3 { display: none; }
.yg-root.yg-shop--checkout .woocommerce-billing-fields .yg-shop__boxtitle { margin-bottom: 20px; }
.yg-root.yg-shop--checkout #customer_details h3 { margin: 0 0 16px; font-family: var(--yg-font-sans); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; text-transform: none; color: var(--yg-text); }
.yg-root.yg-shop--checkout .woocommerce-billing-fields__field-wrapper,
.yg-root.yg-shop--checkout .woocommerce-shipping-fields__field-wrapper,
.yg-root.yg-shop--checkout .woocommerce-additional-fields__field-wrapper,
.yg-root.yg-shop--checkout .woocommerce-account-fields .create-account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.yg-root.yg-shop--checkout #customer_details .form-row { grid-column: 1 / -1; }
.yg-root.yg-shop--checkout #customer_details .form-row-first,
.yg-root.yg-shop--checkout #customer_details .form-row-last { grid-column: auto; }
.yg-root.yg-shop--checkout #customer_details .woocommerce-shipping-fields #ship-to-different-address label,
.yg-root.yg-shop--checkout #customer_details .woocommerce-account-fields label.checkbox,
.yg-root.yg-shop--checkout #customer_details .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; }
.yg-root.yg-shop--checkout #customer_details .woocommerce-additional-fields > h3 { padding-top: 24px; border-top: 1px solid var(--yg-line); }
.yg-root.yg-shop--checkout #customer_details .col-1 + .col-2 .woocommerce-additional-fields > h3 { padding-top: 0; border-top: 0; }
.yg-root.yg-shop--checkout #customer_details .col-2 { padding-top: 24px; border-top: 1px solid var(--yg-line); }

.yg-root.yg-shop--checkout .yg-co__review { padding: 26px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); box-shadow: 0 24px 60px -40px rgba(22, 14, 13, .45); }
.yg-root.yg-shop--checkout #order_review_heading { display: none; }
.yg-root.yg-shop--checkout #order_review { float: none; width: 100%; padding: 0; }
.yg-root.yg-shop .woocommerce-checkout-review-order-table thead { display: none; }
.yg-root.yg-shop .woocommerce-checkout-review-order-table tbody tr:first-child { padding-top: 0; border-top: 0; }
.yg-root.yg-shop .woocommerce-checkout-review-order-table td.product-name { flex: 1 1 60%; font-weight: 600; text-align: left !important; }
.yg-root.yg-shop .woocommerce-checkout-review-order-table td.product-name .product-quantity { font-weight: 400; color: var(--yg-muted); }
.yg-root.yg-shop .woocommerce-checkout-review-order-table td.product-name dl.variation { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 4px 0 0; font-size: .85rem; font-weight: 400; color: var(--yg-muted); }
.yg-root.yg-shop .woocommerce-checkout-review-order-table td.product-name dl.variation * { float: none; margin: 0; padding: 0; }
.yg-root.yg-shop .woocommerce-checkout-review-order-table tfoot th { font-weight: 500; color: var(--yg-muted); }

/* Medios de pago */
.yg-root.yg-shop #payment { margin-top: 18px; border-radius: 0; background: none; }
.yg-root.yg-shop #payment ul.payment_methods { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; list-style: none; }
.yg-root.yg-shop #payment ul.payment_methods::before,
.yg-root.yg-shop #payment ul.payment_methods::after { display: none; }
.yg-root.yg-shop #payment ul.payment_methods li { margin: 0; padding: 14px 16px; border: 1px solid var(--yg-line); border-radius: 14px; background: var(--yg-shop-field); line-height: 1.4; transition: border-color .2s, background-color .2s; }
.yg-root.yg-shop #payment ul.payment_methods li:has(> input:checked) { border-color: var(--yg-shop-accent); background: var(--yg-shop-box); box-shadow: 0 0 0 1px var(--yg-shop-accent); }
.yg-root.yg-shop #payment ul.payment_methods li > label { display: inline; margin-left: 8px; font-weight: 600; cursor: pointer; }
.yg-root.yg-shop #payment ul.payment_methods li img { float: right; max-height: 26px; margin: -2px 0 0 8px; vertical-align: middle; }
.yg-root.yg-shop #payment ul.payment_methods li.woocommerce-notice { padding: 14px 18px 14px 48px; }
.yg-root.yg-shop #payment div.payment_box { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--yg-paper-2); font-size: .9rem; color: var(--yg-muted); }
.yg-root.yg-shop #payment div.payment_box::before { display: none; }
.yg-root.yg-shop #payment div.payment_box p:last-child { margin-bottom: 0; }
.yg-root.yg-shop #payment div.form-row.place-order { display: grid; gap: 14px; margin: 0; padding: 18px 0 0; }
.yg-root.yg-shop #payment .woocommerce-privacy-policy-text p,
.yg-root.yg-shop #payment .woocommerce-terms-and-conditions-wrapper { font-size: .82rem; line-height: 1.5; color: var(--yg-muted); }
.yg-root.yg-shop #payment .woocommerce-privacy-policy-text a,
.yg-root.yg-shop #payment .woocommerce-terms-and-conditions-wrapper a { color: var(--yg-text); text-decoration: underline; text-underline-offset: 2px; }
.yg-root.yg-shop #payment .woocommerce-terms-and-conditions-checkbox-text { font-size: .88rem; color: var(--yg-text); }
.yg-root.yg-shop #payment #place_order,
.yg-root.yg-shop .woocommerce #payment #place_order { float: none; width: 100%; min-height: 56px; padding: 14px 24px; border-color: var(--yg-shop-accent); background: var(--yg-shop-accent); color: var(--yg-white); font-size: 1.02rem; }
.yg-root.yg-shop #payment #place_order:hover { border-color: var(--yg-shop-accent-2); background: var(--yg-shop-accent-2); }
.yg-root.yg-shop .blockUI.blockOverlay { border-radius: inherit; }

/* Pedido recibido */
.yg-root.yg-shop--received .yg-shop__body,
.yg-root.yg-shop--received .yg-co-thanks__actions { max-width: 900px; }
.yg-root.yg-shop--received .woocommerce-order { display: grid; gap: 28px; }
.yg-root.yg-shop--received.is-ok .woocommerce-thankyou-order-received,
.yg-root.yg-shop--received.is-failed .woocommerce-thankyou-order-failed { display: none; }
.yg-root.yg-shop--received .woocommerce-thankyou-order-failed-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.yg-root.yg-shop ul.order_details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.yg-root.yg-shop ul.order_details::before,
.yg-root.yg-shop ul.order_details::after { display: none; }
.yg-root.yg-shop ul.order_details li { float: none; margin: 0; padding: 16px 18px; border: 1px solid var(--yg-line); border-radius: 16px; background: var(--yg-shop-box); font-size: .72rem; font-weight: 600; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--yg-muted); }
.yg-root.yg-shop ul.order_details li strong { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; text-transform: none; color: var(--yg-text); overflow-wrap: anywhere; }
.yg-root.yg-shop .woocommerce-order > p,
.yg-root.yg-shop .woocommerce-bacs-bank-details,
.yg-root.yg-shop .woocommerce-order-details,
.yg-root.yg-shop .woocommerce-customer-details { margin: 0; }
.yg-root.yg-shop .woocommerce-order-details,
.yg-root.yg-shop .woocommerce-customer-details,
.yg-root.yg-shop .woocommerce-bacs-bank-details { padding: 26px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-l); background: var(--yg-shop-box); }
.yg-root.yg-shop .woocommerce-bacs-bank-details { border-color: var(--yg-gold); background: #fbf3dc; }
.yg-root.yg-shop .woocommerce-bacs-bank-details ul.order_details li { background: var(--yg-white); }
.yg-root.yg-shop .woocommerce-order h2,
.yg-root.yg-shop .woocommerce-order h3 { margin: 0 0 16px; font-family: var(--yg-font-sans); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-transform: none; color: var(--yg-text); }
.yg-root.yg-shop table.order_details thead { display: none; }
.yg-root.yg-shop table.order_details tbody tr:first-child { border-top: 0; padding-top: 0; }
.yg-root.yg-shop table.order_details td.product-name { flex: 1 1 60%; font-weight: 600; text-align: left !important; }
.yg-root.yg-shop table.order_details td.product-name a { color: inherit; }
.yg-root.yg-shop table.order_details tfoot th { font-weight: 500; color: var(--yg-muted); }
.yg-root.yg-shop .woocommerce-customer-details address { padding: 0; border: 0; font-style: normal; line-height: 1.6; }
.yg-root.yg-shop .woocommerce-customer-details .woocommerce-column { float: none; width: auto; }
.yg-root .yg-co-thanks__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.yg-root .yg-co-thanks__actions .yg-btn { min-height: 54px; padding-left: 30px; padding-right: 30px; }

@media (max-width: 1024px) {
	.yg-root.yg-shop--cart .yg-shop__body > .woocommerce,
	.yg-root.yg-shop--checkout form.checkout { grid-template-columns: minmax(0, 1fr); }
	.yg-root.yg-shop--cart .woocommerce > .woocommerce-cart-form,
	.yg-root.yg-shop--cart .woocommerce > .cart-collaterals,
	.yg-root.yg-shop--checkout form.checkout > #customer_details,
	.yg-root.yg-shop--checkout form.checkout > .yg-co__aside { position: static; grid-column: 1; }
}
@media (max-width: 767px) {
	.yg-root.yg-shop { padding-top: 24px; }
	.yg-root .yg-shop__head { gap: 22px; }
	.yg-root .yg-steps { gap: 8px; }
	.yg-root .yg-steps__item { gap: 8px; font-size: .8rem; }
	.yg-root .yg-steps__item + .yg-steps__item::before { width: 14px; }
	.yg-root .yg-steps__item:not(.is-current) .yg-steps__label { display: none; }
	.yg-root.yg-shop--cart .woocommerce > .woocommerce-cart-form,
	.yg-root.yg-shop .cart-collaterals .cart_totals,
	.yg-root.yg-shop--checkout #customer_details,
	.yg-root.yg-shop--checkout .yg-co__review,
	.yg-root.yg-shop .woocommerce-order-details,
	.yg-root.yg-shop .woocommerce-customer-details,
	.yg-root.yg-shop .woocommerce-bacs-bank-details { padding: 20px; border-radius: var(--yg-radius-m); }
	.yg-root.yg-shop table.cart tr.cart_item {
		grid-template-columns: 72px minmax(0, 1fr) auto 32px;
		grid-template-areas:
			"thumb name  name remove"
			"thumb price price ."
			"thumb qty   sub  sub";
		gap: 4px 14px;
	}
	.yg-root.yg-shop--cart.yg-cart--no-qty table.cart tr.cart_item {
		grid-template-areas:
			"thumb name  name remove"
			"thumb price sub  sub";
	}
	.yg-root.yg-shop table.cart td.product-name > a { font-size: 1rem; }
	.yg-root.yg-shop table.cart td.product-subtotal { font-size: 1rem; }
	.yg-root.yg-shop table.cart a.remove { width: 30px; height: 30px; }
	.yg-root.yg-shop table.cart td.actions > .button { width: 100%; margin-left: 0; }
	.yg-root.yg-shop table.cart td.actions .coupon .input-text { flex-basis: 100%; margin-right: 0; }
	.yg-root.yg-shop--checkout .woocommerce-billing-fields__field-wrapper,
	.yg-root.yg-shop--checkout .woocommerce-shipping-fields__field-wrapper,
	.yg-root.yg-shop--checkout .woocommerce-additional-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
	.yg-root.yg-shop--checkout #customer_details .form-row-first,
	.yg-root.yg-shop--checkout #customer_details .form-row-last { grid-column: 1 / -1; }
	.yg-root .yg-cart-empty__glyph { width: 104px; height: 104px; font-size: 3.6rem; }
	.yg-root .yg-co-thanks__actions .yg-btn { width: 100%; }
}

/* ============ Garantía (Información de cursos y página de curso) ============ */

.yg-root .yg-guarantee { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid #e3cf98; border-radius: 14px; background: #fbf3dc; color: var(--yg-text); text-align: left; }
.yg-root .yg-guarantee__icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yg-gold); color: var(--yg-white); }
.yg-root .yg-guarantee__icon svg,
.yg-root .yg-guarantee__icon i { width: 15px; height: 15px; font-size: 15px; fill: currentColor; }
.yg-root .yg-guarantee__text { display: grid; gap: 2px; font-size: .9rem; line-height: 1.4; }
.yg-root .yg-guarantee__text strong { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a6400; }
.yg-root .yg-ci__buy .yg-guarantee { margin-top: 14px; }

/* ============ Instituciones ============ */

.yg-root.yg-inst { padding-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 100px); }
.yg-root .yg-inst__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.yg-root.yg-inst--photo-right .yg-inst__media { order: 2; }
.yg-root.yg-inst--no-photo .yg-inst__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
.yg-root.yg-inst--no-photo .yg-inst__body { justify-items: center; }
.yg-root .yg-inst__media { display: grid; gap: 12px; min-width: 0; margin: 0; }
.yg-root .yg-inst__frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--yg-radius-l); background: var(--yg-paper); }
.yg-root .yg-inst__frame img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 35% 30%; border-radius: 0; }
.yg-root .yg-inst__caption { font-size: .85rem; line-height: 1.45; color: var(--yg-muted); }
.yg-root .yg-inst__body { display: grid; gap: 18px; min-width: 0; }
.yg-root .yg-inst__title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.yg-root .yg-inst__text { max-width: 52ch; color: var(--yg-muted); }
.yg-root .yg-inst__logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.yg-root.yg-inst--no-photo .yg-inst__logos { justify-content: center; }
.yg-root .yg-inst__logo { display: flex; align-items: center; justify-content: center; min-width: min(100%, 200px); min-height: 104px; padding: 18px 24px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-m); background: var(--yg-white); }
.yg-root .yg-inst__logo a { display: flex; align-items: center; justify-content: center; color: inherit; }
.yg-root .yg-inst__logo img { display: block; width: auto; max-width: 220px; max-height: 72px; object-fit: contain; border-radius: 0; transition: filter .25s ease, opacity .25s ease; }
.yg-root.yg-inst--gray .yg-inst__logo img { filter: grayscale(1); opacity: .75; }
.yg-root.yg-inst--gray .yg-inst__logo:hover img { filter: none; opacity: 1; }
.yg-root .yg-inst__name { max-width: 22ch; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; text-align: center; color: var(--yg-text); }
.yg-root .yg-inst__note { font-size: .82rem; color: var(--yg-muted); }

@media (max-width: 1024px) {
	.yg-root .yg-inst__grid { grid-template-columns: minmax(0, 1fr); }
	.yg-root.yg-inst--photo-right .yg-inst__media { order: 0; }
}
@media (max-width: 767px) {
	.yg-root .yg-inst__frame { border-radius: var(--yg-radius-m); }
	.yg-root .yg-inst__logo { flex: 1 1 100%; min-height: 88px; }
	.yg-root .yg-inst__logo img { max-width: 100%; max-height: 60px; }
}

/* ============ Comunidad ============ */

.yg-root .yg-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 190px); grid-auto-flow: dense; gap: 14px; }
.yg-root .yg-gallery__item { position: relative; overflow: hidden; border-radius: var(--yg-radius-m); background: var(--yg-paper-2); }
.yg-root .yg-gallery__item img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; transition: transform .7s ease; }
.yg-root .yg-gallery__item:hover img { transform: scale(1.05); }
.yg-root .yg-gallery__cap { position: absolute; left: 12px; bottom: 12px; right: 12px; }
.yg-root .yg-g--large { grid-column: span 3; grid-row: span 2; }
.yg-root .yg-g--wide { grid-column: span 3; grid-row: span 1; }
.yg-root .yg-g--medium { grid-column: span 2; grid-row: span 1; }
.yg-root .yg-g--small { grid-column: span 1; grid-row: span 1; }
.yg-root .yg-g--square { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) {
	.yg-root .yg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
	.yg-root .yg-g--large { grid-column: span 2; grid-row: span 2; }
	.yg-root .yg-g--wide { grid-column: span 2; grid-row: span 1; }
	.yg-root .yg-g--medium,
	.yg-root .yg-g--small,
	.yg-root .yg-g--square { grid-column: span 1; grid-row: span 1; }
}

/* ============ Valores ============ */

.yg-root.yg-values { background-color: var(--yg-red); color: var(--yg-paper); }
.yg-root.yg-values .yg-eyebrow { color: var(--yg-gold-light); }
.yg-root .yg-values__bg { position: absolute; right: -2%; bottom: -18%; font-size: clamp(16rem, 30vw, 30rem); line-height: 1; color: var(--yg-red-deep); opacity: .55; pointer-events: none; user-select: none; }
.yg-root .yg-values__mission { display: grid; gap: 22px; max-width: 980px; }
.yg-root .yg-values__title { font-size: clamp(1.9rem, 4.2vw, 3.5rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.yg-root .yg-values__title em { font-style: normal; color: var(--yg-gold-light); }
.yg-root .yg-values__grid { display: grid; grid-template-columns: repeat(var(--yg-cols, 3), minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.yg-root .yg-value { display: grid; align-content: start; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(254, 252, 246, .35); }
.yg-root .yg-value__glyph { font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--yg-paper); }
.yg-root .yg-value__title { font-size: 1.4rem; }
.yg-root .yg-value__text { max-width: 34ch; color: var(--yg-red-soft); }
@media (max-width: 767px) { .yg-root .yg-values__grid { grid-template-columns: minmax(0, 1fr); } }

/* ============ Becas ============ */

.yg-root.yg-scholar { padding-bottom: 0; }
.yg-root .yg-scholar__card { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); overflow: hidden; border-radius: var(--yg-radius-l); background: var(--yg-ink); color: var(--yg-paper); }
.yg-root .yg-scholar__copy { position: relative; z-index: 1; display: grid; align-content: center; gap: 20px; padding: clamp(32px, 5vw, 64px); }
.yg-root .yg-scholar__title { font-size: clamp(2rem, 4vw, 3.4rem); }
.yg-root .yg-scholar__text { max-width: 46ch; color: var(--yg-muted-ink); }
.yg-root .yg-scholar__art { position: relative; display: grid; place-items: center; min-height: 260px; background: radial-gradient(120% 90% at 70% 40%, #3a2516 0%, var(--yg-ink) 70%); }
.yg-root .yg-scholar__glyph { font-size: clamp(6rem, 13vw, 11rem); line-height: 1; color: var(--yg-gold); text-shadow: 0 0 60px rgba(204, 153, 0, .35); }
.yg-root .yg-scholar__img--contain { width: auto; max-width: 70%; height: auto; }
.yg-root .yg-scholar__img--cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.yg-root .yg-scholar__img--cover ~ .yg-scholar__caption { z-index: 1; padding: 6px 12px; border-radius: 999px; left: 50%; right: auto; transform: translateX(-50%); background: rgba(22, 14, 13, .7); color: var(--yg-paper); }
.yg-root .yg-gallery__link { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.yg-root .yg-gallery__play { display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; border-radius: 50%; background: rgba(176, 42, 47, .9); color: var(--yg-white); transition: transform .2s ease; }
.yg-root .yg-gallery__link:hover .yg-gallery__play { transform: scale(1.08); }
.yg-root .yg-gallery__play svg { width: 22px; height: 22px; }
.yg-root .yg-gallery__item video,
.yg-root .yg-exp__fig video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.yg-root .yg-exp__stack .yg-exp__fig video { position: absolute; inset: 0; }
.yg-root .yg-gallery__more { display: flex; justify-content: center; margin-top: 32px; }
.yg-root .yg-gallery__cap { z-index: 2; pointer-events: none; }
.yg-root .yg-scholar__caption { position: absolute; bottom: 22px; left: 16px; right: 16px; font-size: .8rem; letter-spacing: .14em; text-align: center; text-transform: uppercase; color: var(--yg-muted-ink); }
@media (max-width: 767px) {
	.yg-root .yg-scholar__card { grid-template-columns: minmax(0, 1fr); }
	.yg-root .yg-scholar__art { order: -1; min-height: 200px; }
}

/* ============ Pasos ============ */

.yg-root .yg-steps__head { display: grid; gap: 18px; max-width: 720px; margin-bottom: 48px; }
.yg-root .yg-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.yg-root .yg-step { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px 24px; border: 1px solid var(--yg-line); border-radius: var(--yg-radius-m); background: var(--yg-paper); }
.yg-root .yg-step__num { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--yg-red); }
.yg-root .yg-step__title { font-size: 1.3rem; }
.yg-root .yg-step__text { font-size: .95rem; color: var(--yg-muted); }
.yg-root .yg-step::after { content: ""; position: absolute; top: 38px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--yg-gold); border-right: 2px solid var(--yg-gold); transform: rotate(45deg); }
.yg-root .yg-step:last-child::after { display: none; }
@media (max-width: 1024px) {
	.yg-root .yg-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-root .yg-step::after { display: none; }
}
@media (max-width: 767px) { .yg-root .yg-steps__list { grid-template-columns: minmax(0, 1fr); } }

/* ============ Contacto ============ */

.yg-root .yg-contact__bg { position: absolute; left: -3%; bottom: -12%; font-size: clamp(14rem, 28vw, 26rem); line-height: 1; color: var(--yg-red); opacity: .12; pointer-events: none; user-select: none; }
.yg-root .yg-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(40px, 6vw, 90px); align-items: center; }
.yg-root .yg-contact__copy { position: relative; z-index: 1; display: grid; gap: 24px; min-width: 0; }
.yg-root .yg-contact__title { font-size: clamp(2.4rem, 5.6vw, 4.8rem); }
.yg-root .yg-contact__slogan { font-family: var(--yg-font-zh); font-size: 1.15rem; letter-spacing: .2em; color: var(--yg-gold-light); }
.yg-root .yg-contact__list { margin: 8px 0 0; border-top: 1px solid var(--yg-line-ink); }
.yg-root .yg-contact__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--yg-line-ink); font-size: .95rem; }
.yg-root .yg-contact__label { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--yg-muted-ink); }
.yg-root .yg-contact__label i,
.yg-root .yg-contact__label svg { width: 1em; font-size: 1em; color: var(--yg-gold-light); fill: currentColor; }
.yg-root .yg-contact__value { margin: 0; min-width: 0; text-align: right; overflow-wrap: anywhere; color: var(--yg-paper); }
.yg-root .yg-contact__value a,
.yg-root .yg-contact__value a:visited { color: var(--yg-paper); }
.yg-root .yg-contact__value a:hover { color: var(--yg-gold-light); }

.yg-root .yg-form { position: relative; z-index: 1; display: grid; gap: 16px; min-width: 0; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--yg-radius-l); background: var(--yg-paper); color: var(--yg-text); }
.yg-root .yg-form__title { font-size: 1.5rem; letter-spacing: -.02em; }
.yg-root .yg-field { display: grid; gap: 6px; }
.yg-root .yg-field label { font-size: .82rem; font-weight: 600; color: var(--yg-muted); }
.yg-root .yg-field input,
.yg-root .yg-field select,
.yg-root .yg-field textarea {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--yg-line);
	border-radius: 12px;
	background: var(--yg-white);
	color: var(--yg-text);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	box-shadow: none;
}
.yg-root .yg-field textarea { min-height: 96px; resize: vertical; }
.yg-root .yg-field input:focus,
.yg-root .yg-field select:focus,
.yg-root .yg-field textarea:focus { outline: 2px solid var(--yg-red); outline-offset: 0; border-color: var(--yg-red); }
.yg-root .yg-form .yg-btn { width: 100%; }
.yg-root .yg-form__note { font-size: .85rem; text-align: center; color: var(--yg-muted); }
.yg-root .yg-form__status { padding: 12px 14px; border: 1px solid var(--yg-line); border-radius: 12px; background: var(--yg-paper-2); font-size: .92rem; }
.yg-root .yg-form__status--ok { border-color: #b7d3b0; background: #eef6ea; }
.yg-root .yg-form__status--error { border-color: #e6b3b0; background: #fbeceb; }
.yg-root .yg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.yg-root .yg-form--shortcode { color: var(--yg-text); }
@media (max-width: 1024px) { .yg-root .yg-contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
	.yg-root .yg-contact__item { flex-direction: column; align-items: flex-start; gap: 2px; }
	.yg-root .yg-contact__value { text-align: left; }
}

/* ============ Footer ============ */

.yg-root.yg-footer { padding-top: 64px; padding-bottom: 32px; background-color: var(--yg-ink-2); color: var(--yg-muted-ink); font-size: .92rem; }
.yg-root .yg-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(var(--yg-footer-cols, 3), minmax(0, 1fr)); gap: 40px; }
.yg-root .yg-footer__brand { display: grid; align-content: start; gap: 16px; }
.yg-root .yg-footer__logo { display: block; width: 220px; height: auto; }
.yg-root .yg-footer__title { margin: 0 0 14px; font-family: var(--yg-font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--yg-paper); }
.yg-root .yg-footer__menu { display: grid; gap: 10px; }
.yg-root .yg-footer__menu .sub-menu { display: grid; gap: 8px; margin-top: 8px; padding-left: 12px; }
.yg-root.yg-footer a,
.yg-root.yg-footer a:visited { color: var(--yg-muted-ink); text-decoration: none; transition: color .2s; }
.yg-root.yg-footer a:hover,
.yg-root.yg-footer a:focus,
.yg-root.yg-footer a:active,
.yg-root .yg-footer__menu .current-menu-item > a { color: var(--yg-paper); }
.yg-root .yg-social { display: grid; gap: 10px; }
.yg-root .yg-social a,
.yg-root .yg-social span { display: inline-flex; align-items: center; gap: 10px; }
.yg-root .yg-social i,
.yg-root .yg-social svg { width: 1em; font-size: 1em; fill: currentColor; }
.yg-root .yg-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--yg-line-ink); font-size: .82rem; }
@media (max-width: 1024px) {
	.yg-root .yg-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-root .yg-footer__brand { grid-column: span 2; }
}
@media (max-width: 767px) {
	.yg-root .yg-footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.yg-root .yg-footer__brand { grid-column: auto; }
	.yg-root .yg-footer__logo { width: 180px; }
}

/* ============ WhatsApp flotante (widget Footer) ============ */

.yg-root.yg-wa {
	--yg-wa-size: 58px;
	--yg-wa-x: 24px;
	--yg-wa-y: 24px;
	position: fixed;
	bottom: calc(var(--yg-wa-y) + env(safe-area-inset-bottom, 0px));
	z-index: 998;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 2 * var(--yg-wa-x));
	text-decoration: none;
}
.yg-root.yg-wa[hidden] { display: none; }
.yg-root.yg-wa--right { right: calc(var(--yg-wa-x) + env(safe-area-inset-right, 0px)); }
.yg-root.yg-wa--left { left: calc(var(--yg-wa-x) + env(safe-area-inset-left, 0px)); flex-direction: row-reverse; }
.yg-root.yg-wa,
.yg-root.yg-wa:visited,
.yg-root.yg-wa:hover,
.yg-root.yg-wa:focus { color: var(--yg-white); }
.yg-root .yg-wa__label {
	min-width: 0;
	padding: 10px 16px;
	border: 1px solid var(--yg-line-ink);
	border-radius: 999px;
	background: var(--yg-ink);
	box-shadow: 0 10px 30px -12px rgba(22, 14, 13, .55);
	color: var(--yg-paper);
	font-size: .88rem;
	font-weight: 600;
	line-height: 1.25;
	opacity: 0;
	transform: translateX(8px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.yg-root.yg-wa--left .yg-wa__label { transform: translateX(-8px); }
.yg-root.yg-wa:hover .yg-wa__label,
.yg-root.yg-wa:focus-visible .yg-wa__label,
.yg-root.yg-wa.is-intro .yg-wa__label,
.yg-root.yg-wa--label-always .yg-wa__label { opacity: 1; transform: none; pointer-events: auto; }
.yg-root .yg-wa__icon {
	position: relative;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: var(--yg-wa-size);
	height: var(--yg-wa-size);
	border-radius: 50%;
	background-color: #25d366;
	color: var(--yg-white);
	font-size: calc(var(--yg-wa-size) * .5);
	box-shadow: 0 12px 28px -10px rgba(22, 14, 13, .6);
	transition: transform .2s ease;
}
.yg-root.yg-wa:hover .yg-wa__icon { transform: scale(1.06); }
.yg-root .yg-wa__icon svg { width: 1em; height: 1em; fill: currentColor; }
.yg-root .yg-wa__dot { display: none; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border: 2px solid var(--yg-white); border-radius: 50%; background: #25d366; }
.yg-root.yg-wa.is-online .yg-wa__dot { display: block; background: #3be27a; }
.yg-root.yg-wa.is-offline .yg-wa__dot { display: block; background: var(--yg-muted-ink); }
@media (prefers-reduced-motion: no-preference) {
	.yg-root.yg-wa .yg-wa__icon::after {
		content: "";
		position: absolute;
		inset: 0;
		border-radius: 50%;
		box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
		animation: yg-wa-pulse 2.6s ease-out 1.2s 3;
	}
}
@keyframes yg-wa-pulse { to { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (min-width: 768px) { .yg-root.yg-wa--mobile { display: none; } }
@media (max-width: 767px) {
	.yg-root.yg-wa { --yg-wa-size: 54px; --yg-wa-x: 16px; --yg-wa-y: 16px; }
	.yg-root.yg-wa--desktop { display: none; }
	.yg-root.yg-wa--label-intro .yg-wa__label { display: none; }
	.yg-root.yg-wa--label-always .yg-wa__label { padding: 8px 13px; font-size: .8rem; }
}
.elementor-editor-active .yg-root.yg-wa { position: absolute; }

/* ============ Secciones de dos columnas (comunidad, programa) ============ */

@media (max-width: 1024px) { .yg-root .yg-split { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 767px) {
	.yg-root .yg-sechead { margin-bottom: 28px; }
	.yg-root .yg-btn { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.yg-root *,
	.yg-root *::before,
	.yg-root *::after { animation: none !important; transition: none !important; }
}
