/* ==========================================================================
   WannAIhub — diseño de sitio (cabecera, pie, home, tienda, precios, FAQ)
   Solo se carga en vistas con body.wh-site.
   ========================================================================== */

@font-face { font-family: "WH Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WH Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "WH Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "WH Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WH Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body.wh-site {
	--wh-bg: #06051a;
	--wh-surface: #0c0b23;
	--wh-surface-2: #13123a;
	--wh-border: #25234a;
	--wh-text: #f4f3fa;
	--wh-muted: #a9a7c2;
	--wh-link: #8f82ff;
	--wh-accent: #4f46e5;
	--wh-faq-border: #2a2560;
	--wh-faq-icon: var(--wh-accent);
	--wh-font: "WH Poppins", "Poppins", "Segoe UI", system-ui, sans-serif;
	--wh-mono: "WH Plex Mono", "IBM Plex Mono", ui-monospace, monospace;
	--wh-radius: 16px;
	--wh-gutter: 32px;

	margin: 0;
	background: var(--wh-bg);
	color: var(--wh-text);
	font-family: var(--wh-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.wh-site *,
.wh-site *::before,
.wh-site *::after { box-sizing: border-box; }
.wh-site img { max-width: 100%; height: auto; }
.wh-site h1, .wh-site h2, .wh-site h3, .wh-site p, .wh-site figure { margin: 0; }
.wh-site h1, .wh-site h2, .wh-site h3 { color: var(--wh-text); font-family: var(--wh-font); font-weight: 600; }
.wh-site a { color: var(--wh-link); text-underline-offset: 3px; }
.wh-site a:hover { color: var(--wh-text); }
.wh-site :focus-visible { outline: 2px solid var(--wh-link); outline-offset: 3px; border-radius: 6px; }
.wh-site ul, .wh-site ol { margin: 0; padding: 0; list-style: none; }
.wh-site fieldset { margin: 0; padding: 0; border: 0; min-width: 0; background: none; }
.wh-site [hidden] { display: none !important; }
.wh-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wh-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--wh-accent); color: #fff; }
.wh-skip:focus { top: 12px; color: #fff; }

.wh-page { display: flex; flex-direction: column; min-height: 100vh; }
.wh-main { flex: 1 0 auto; }

.wh-container { width: 100%; max-width: calc(1240px + var(--wh-gutter) * 2); margin: 0 auto; padding: 0 var(--wh-gutter); }
.wh-section { padding-top: 96px; }
.wh-stack { display: flex; flex-direction: column; gap: 56px; padding-top: 40px; }
.wh-narrow { max-width: calc(860px + var(--wh-gutter) * 2); }
.wh-center { text-align: center; }
.wh-measure { max-width: 720px; }
.wh-mono { font-family: var(--wh-mono); font-size: 13px; color: var(--wh-muted); }

@media (max-width: 720px) {
	body.wh-site { --wh-gutter: 18px; }
	.wh-section { padding-top: 72px; }
}

/* ---------- Tipografía ---------- */

.wh-display { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -0.03em; }
.wh-h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.025em; }
.wh-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.wh-h2--sm { font-size: clamp(24px, 2.6vw, 32px); }
.wh-h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; }
.wh-h2 a, .wh-h3 a { color: inherit; text-decoration: none; }
.wh-eyebrow { font-size: 15px; font-weight: 500; color: var(--wh-link); }
.wh-eyebrow--muted { color: var(--wh-muted); }
.wh-lead, .wh-lead p { font-size: 19px; line-height: 1.55; color: var(--wh-muted); max-width: 60ch; }
.wh-lead--sm, .wh-lead--sm p { font-size: 17px; line-height: 1.65; }
.wh-muted, .wh-muted p { color: var(--wh-muted); }
.wh-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.wh-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.wh-price-line strong { font-size: 22px; color: var(--wh-link); font-weight: 600; }
.wh-price-line span { color: var(--wh-muted); font-size: 15px; }

/* ---------- Botones ---------- */

.wh-site .wh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px;
	font: 600 15px/1.2 var(--wh-font); text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: filter 0.15s ease, border-color 0.15s ease;
}
.wh-site .wh-btn--primary { background: var(--wh-accent); color: #fff; }
.wh-site .wh-btn--primary:hover { filter: brightness(1.12); color: #fff; }
.wh-site .wh-btn--ghost { background: transparent; color: var(--wh-text); border-color: var(--wh-muted); font-weight: 500; }
.wh-site .wh-btn--ghost:hover { border-color: var(--wh-text); color: var(--wh-text); }
.wh-site .wh-btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.wh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wh-actions--center { justify-content: center; }

.wh-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-tags li { padding: 4px 10px; border: 1px solid var(--wh-border); border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--wh-muted); }
.wh-badge { display: inline-block; padding: 3px 10px; border: 1px solid var(--wh-link); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--wh-link); }
.wh-badge--sm { margin-left: 8px; padding: 1px 8px; font-size: 11px; vertical-align: 2px; }

/* ---------- Cabecera ---------- */

.wh-header { position: relative; z-index: 20; border-bottom: 1px solid var(--wh-border); background: var(--wh-bg); }
.wh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wh-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--wh-text); text-decoration: none; }
.wh-brand:hover { color: var(--wh-text); }
.wh-brand__mark { width: 46px; height: 32px; object-fit: contain; }
.wh-brand__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.wh-brand__name span { color: var(--wh-link); }
.wh-brand--sm .wh-brand__mark { width: 40px; height: 28px; }
.wh-brand--sm .wh-brand__name { font-size: 20px; }

.wh-menu { display: flex; gap: 28px; font-size: 15px; }
.wh-menu a { color: var(--wh-muted); text-decoration: none; }
.wh-menu a:hover, .wh-menu .current-menu-item > a, .wh-menu a[aria-current] { color: var(--wh-text); }
.wh-menu .current-menu-item > a { font-weight: 600; }

.wh-header__actions { display: flex; align-items: center; gap: 12px; }
.wh-header__account { padding: 12px 6px; font-size: 15px; color: var(--wh-text); text-decoration: none; }
.wh-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--wh-border); border-radius: 10px; color: var(--wh-text); }
.wh-icon-btn__count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--wh-accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.wh-lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--wh-border); border-radius: 999px; }
.wh-lang a { display: block; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--wh-muted); text-decoration: none; }
.wh-lang a[aria-current] { background: var(--wh-surface-2); color: var(--wh-text); }

.wh-header__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--wh-border); border-radius: 10px; background: transparent; color: var(--wh-text); cursor: pointer; }
.wh-mobile-nav { border-top: 1px solid var(--wh-border); padding: 12px var(--wh-gutter) 20px; }
.wh-mobile-menu a { display: block; padding: 12px 0; color: var(--wh-text); text-decoration: none; font-size: 17px; }

@media (max-width: 1000px) {
	.wh-header__nav, .wh-header__account { display: none; }
	.wh-header__toggle { display: inline-flex; }
}
@media (max-width: 520px) {
	.wh-header__actions .wh-btn { display: none; }
	.wh-brand__name { font-size: 19px; }
}

/* ---------- Pie ---------- */

.wh-footer { margin-top: 96px; border-top: 1px solid var(--wh-border); }
.wh-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; padding-top: 48px; }
.wh-footer__brand { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; }
.wh-footer__brand p { color: var(--wh-muted); line-height: 1.6; }
.wh-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.wh-footer__title { font-size: 14px; font-weight: 600; color: var(--wh-text); }
.wh-footer__menu { display: flex; flex-direction: column; gap: 10px; }
.wh-footer__menu a { color: var(--wh-muted); text-decoration: none; }
.wh-footer__menu a:hover { color: var(--wh-text); }
.wh-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding: 0 0 32px; font-size: 13.5px; color: var(--wh-muted); }
.wh-footer__legalmenu { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.wh-footer__legalmenu a { color: var(--wh-muted); text-decoration: none; }
.wh-footer__legalmenu a:hover { color: var(--wh-text); }

/* ---------- Héroes ---------- */

.wh-hero { padding: 120px 0 128px; }
.wh-hero--compact { padding: 80px 0 72px; border-bottom: 1px solid var(--wh-border); }
.wh-hero--ribbon {
	background-color: var(--wh-bg);
	background-image:
		linear-gradient(90deg, rgba(6, 5, 26, 0.94) 0%, rgba(6, 5, 26, 0.78) 38%, rgba(6, 5, 26, 0.25) 70%, rgba(6, 5, 26, 0.1) 100%),
		linear-gradient(180deg, rgba(6, 5, 26, 0.55) 0%, rgba(6, 5, 26, 0) 25%, rgba(6, 5, 26, 0) 70%, var(--wh-bg) 100%),
		url("../img/bg-ribbon.webp");
	background-size: cover, cover, cover;
	background-position: center, center, 62% 55%;
	background-repeat: no-repeat;
}
.wh-hero__copy { display: flex; flex-direction: column; gap: 20px; flex: 1 1 480px; }
.wh-hero__copy .wh-actions { padding-top: 8px; }
.wh-hero--center { padding: 72px 0 40px; text-align: center; }
.wh-hero__center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wh-hero__center .wh-lead { margin: 0 auto; }

.wh-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.wh-split > * { flex: 1 1 460px; min-width: 0; }
.wh-split--end { align-items: flex-end; }
.wh-split--start { align-items: flex-start; }

.wh-window { padding: 12px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); }
.wh-window__bar { display: flex; gap: 6px; padding: 6px 8px 12px; }
.wh-window__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--wh-border); }
.wh-shot { display: block; width: 100%; border-radius: 10px; background: #f0f0f1; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Decoraciones (rejillas de la web) */
.wh-glow { background-image: radial-gradient(ellipse 55% 60% at 50% 55%, rgba(60, 54, 200, 0.28), transparent 72%); }
.wh-net-top, .wh-net-corner { position: relative; isolation: isolate; overflow: hidden; }
.wh-net-top::before { content: ""; position: absolute; inset: 0 0 auto 0; z-index: -1; aspect-ratio: 1440 / 295; background: url("../img/net-perspective.png") top center / 100% auto no-repeat; pointer-events: none; }
.wh-net-corner::before { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: 460px; aspect-ratio: 559 / 709; background: url("../img/net-grid.png") top right / contain no-repeat; pointer-events: none; }
.wh-net-corner--left::before { right: auto; left: 0; transform: scaleX(-1); }

/* ---------- Home ---------- */

.wh-featured-intro { display: flex; flex-direction: column; gap: 18px; flex: 1 1 420px; }
.wh-rows { flex: 1.3 1 520px; border-top: 1px solid var(--wh-border); }
.wh-rows__item { padding: 24px 0; border-bottom: 1px solid var(--wh-border); display: flex; flex-direction: column; gap: 6px; }
.wh-rows__item h3 { font-size: 18px; }
.wh-rows__item p { font-size: 15px; }

.wh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 56px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); overflow: hidden; }
.wh-steps li { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-left: 1px solid var(--wh-border); margin-left: -1px; }
.wh-steps__label { font-size: 15px; font-weight: 600; color: var(--wh-link); }
.wh-steps h3 { font-size: 18px; }
.wh-steps p { font-size: 15px; }

.wh-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.wh-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); }
.wh-card--dashed { border-style: dashed; }
.wh-card .wh-btn { margin-top: 6px; }

.wh-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px 56px; align-items: start; }
.wh-about > div { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .wh-about { grid-template-columns: minmax(0, 1fr); } }

.wh-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 96px 40px 64px; border: 1px solid var(--wh-border); border-radius: 22px; text-align: center; background: radial-gradient(ellipse 55% 70% at 50% 60%, rgba(60, 54, 200, 0.28), transparent 72%); }
.wh-cta .wh-muted { max-width: 540px; }
.wh-cta .wh-actions { padding-top: 8px; }
.wh-cta--split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; text-align: left; padding: 88px 40px 48px; }
.wh-cta--split > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- FAQ (estilo de la web) ---------- */

.wh-faq { border: 1px solid var(--wh-faq-border); border-radius: 24px; overflow: hidden; background: radial-gradient(ellipse 55% 90% at 12% 0%, rgba(79, 58, 200, 0.32), transparent 70%), radial-gradient(ellipse 45% 80% at 95% 60%, rgba(95, 70, 210, 0.18), transparent 70%), #07061c; }
.wh-faq__item + .wh-faq__item { border-top: 1px solid var(--wh-faq-border); }
.wh-faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 28px 34px; font-size: 18px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.wh-faq__q::-webkit-details-marker { display: none; }
.wh-faq__q::after { content: ""; flex: 0 0 32px; height: 32px; border-radius: 8px; background: var(--wh-faq-icon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; }
.wh-faq__item[open] > .wh-faq__q::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.wh-faq__a { padding: 0 34px 30px; max-width: 860px; font-size: 16px; line-height: 1.7; color: #d9d7ea; }
.wh-faq__a p + p { margin-top: 0.8em; }
@media (max-width: 600px) { .wh-faq__q { padding: 22px; font-size: 17px; } .wh-faq__a { padding: 0 22px 24px; } }

/* ---------- Tienda ---------- */

.wh-search { display: flex; flex-direction: column; gap: 8px; flex: 0 1 380px !important; }
.wh-search label { font-size: 14px; color: var(--wh-muted); }
.wh-search input { height: 50px; padding: 0 20px; border: 1px solid var(--wh-border); border-radius: 999px; background: var(--wh-surface); color: var(--wh-text); font: 400 15px var(--wh-font); }

.wh-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border: 1px solid var(--wh-border); border-radius: var(--wh-radius); background: var(--wh-surface); overflow: hidden; }
.wh-featured__copy { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px; }
.wh-featured__media { padding: 32px; background: var(--wh-surface-2); display: flex; align-items: center; }
@media (max-width: 900px) { .wh-featured { grid-template-columns: minmax(0, 1fr); } }

.wh-catalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.wh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wh-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--wh-border); border-radius: 999px; font-size: 14px; color: var(--wh-text); text-decoration: none; }
.wh-chip[aria-current] { background: var(--wh-text); border-color: var(--wh-text); color: var(--wh-bg); }

.wh-table { border: 1px solid var(--wh-border); border-radius: 14px; background: var(--wh-surface); overflow: hidden; }
.wh-table__head, .wh-table__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.1fr) 130px; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--wh-border); }
.wh-table__head { font-size: 13px; color: var(--wh-muted); padding-top: 14px; padding-bottom: 14px; }
.wh-table__row { padding-top: 22px; padding-bottom: 22px; }
.wh-table__row:last-child { border-bottom: 0; }
.wh-table__product { display: flex; flex-direction: column; gap: 6px; }
.wh-table__product a { font-size: 18px; font-weight: 600; color: var(--wh-text); text-decoration: none; }
.wh-table__product span { font-size: 14.5px; line-height: 1.5; color: var(--wh-muted); }
.wh-table__price { display: flex; flex-direction: column; gap: 2px; }
.wh-table__price span { font-size: 13px; color: var(--wh-muted); }
@media (max-width: 900px) {
	.wh-table__head { display: none; }
	.wh-table__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.wh-table__row [data-label]:not(:empty)::before { content: attr(data-label) ": "; color: var(--wh-muted); font-family: var(--wh-font); }
}
.wh-site .woocommerce-pagination { margin-top: 24px; }
.wh-site .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
.wh-site .woocommerce-pagination li { border: 0; }
.wh-site .woocommerce-pagination a, .wh-site .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--wh-border); border-radius: 999px; color: var(--wh-text); text-decoration: none; background: transparent; }
.wh-site .woocommerce-pagination .current { background: var(--wh-text); color: var(--wh-bg); border-color: var(--wh-text); }

.wh-empty { padding: 32px; border: 1px dashed var(--wh-border); border-radius: 14px; color: var(--wh-muted); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

.wh-waitlist { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 88px 40px 40px; border: 1px dashed var(--wh-border); border-radius: var(--wh-radius); }
.wh-waitlist > div { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }

.wh-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--wh-border); border-bottom: 1px solid var(--wh-border); }
.wh-strip > div { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 8px; }
.wh-strip > div + div { padding-left: 28px; border-left: 1px solid var(--wh-border); }
.wh-strip h3 { font-size: 16px; }
.wh-strip p { font-size: 15px; color: var(--wh-muted); }

/* ---------- Precios ---------- */

.wh-pricing { width: 100%; margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.wh-toggle { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--wh-border); border-radius: 999px; background: var(--wh-surface); }
.wh-toggle label { position: relative; cursor: pointer; }
.wh-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.wh-toggle span { display: flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--wh-muted); }
.wh-toggle input:checked + span { background: var(--wh-accent); color: #fff; }
.wh-toggle input:focus-visible + span { outline: 2px solid var(--wh-link); outline-offset: 2px; }

.wh-plans { width: 100%; max-width: 1100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; text-align: left; }
.wh-plan { position: relative; display: flex; flex-direction: column; gap: 20px; margin-top: 48px; padding: 52px 28px 30px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); }
.wh-plan.is-recommended { margin-top: 0; border-color: var(--wh-link); background: var(--wh-surface-2); }
.wh-plan__icon { position: absolute; top: -29px; left: 50%; width: 56px; height: 56px; margin-left: -28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--wh-border); border-radius: 50%; background: var(--wh-bg); }
.wh-plan.is-recommended .wh-plan__icon { border-color: var(--wh-link); }
.wh-plan__icon img { width: 30px; height: 30px; object-fit: contain; }
.wh-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wh-plan__head h2 { font-size: 22px; }
.wh-plan__price { padding-bottom: 18px; border-bottom: 1px solid var(--wh-border); }
.wh-plan__price p { display: none; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.wh-plan__price strong { font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.wh-plan.is-recommended .wh-plan__price strong { color: var(--wh-link); }
.wh-plan__price span { font-size: 14px; color: var(--wh-muted); }
.wh-plan__price small { flex-basis: 100%; font-family: var(--wh-mono); font-size: 12.5px; color: var(--wh-muted); }
.wh-plan > .wh-btn { display: none; align-self: flex-start; }
.wh-pricing:has(input[data-period="monthly"]:is(:checked, [type="hidden"])) [data-period="monthly"]:is(p, a),
.wh-pricing:has(input[data-period="annual"]:is(:checked, [type="hidden"])) [data-period="annual"]:is(p, a) { display: flex; }
.wh-pricing:has(input[data-period="monthly"]:is(:checked, [type="hidden"])) a[data-period="monthly"],
.wh-pricing:has(input[data-period="annual"]:is(:checked, [type="hidden"])) a[data-period="annual"] { display: inline-flex; }
.wh-pricing__free { color: var(--wh-muted); }
@media (max-width: 900px) { .wh-plan, .wh-plan.is-recommended { margin-top: 36px; } }

.wh-checklist { display: flex; flex-direction: column; gap: 12px; }
.wh-checklist li { position: relative; padding-left: 32px; font-size: 14.5px; line-height: 1.5; }
.wh-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--wh-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f82ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.wh-compare { margin-top: 28px; overflow-x: auto; border: 1px solid var(--wh-border); border-radius: 16px; background: var(--wh-surface); }
.wh-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.wh-compare th, .wh-compare td { padding: 14px 16px; border-bottom: 1px solid var(--wh-border); text-align: center; vertical-align: middle; }
.wh-compare th[scope="row"], .wh-compare thead th:first-child { text-align: left; padding-left: 24px; font-weight: 400; line-height: 1.45; }
.wh-compare thead th { padding-top: 22px; padding-bottom: 18px; font-weight: 600; vertical-align: bottom; }
.wh-compare thead th:first-child { color: var(--wh-muted); font-weight: 500; }
.wh-compare thead th img { display: block; margin: 0 auto 6px; width: 24px; height: 24px; object-fit: contain; }
.wh-compare .is-highlight { background: var(--wh-surface-2); }
.wh-compare thead th.is-highlight span { color: var(--wh-link); }
.wh-compare__group th { padding-top: 26px; padding-bottom: 10px; text-align: left; padding-left: 24px; font-size: 13px; font-weight: 500; color: var(--wh-link); }
.wh-compare tbody tr:last-child > * { border-bottom: 0; }
.wh-yes { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #23215a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f82ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 18px no-repeat; vertical-align: middle; }
.is-highlight .wh-yes { background-color: var(--wh-accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 12.5l3 3 6-6.5'/%3E%3C/svg%3E"); }
.wh-no { color: var(--wh-muted); }

/* ---------- Página de FAQ ---------- */

.wh-faqpage { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 64px; }
.wh-faqpage__nav { position: sticky; top: 24px; }
.wh-faqpage__navtitle { padding: 0 14px 8px; font-size: 14px; font-weight: 600; color: var(--wh-muted); }
.wh-faqpage__nav a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--wh-muted); text-decoration: none; font-size: 15px; }
.wh-faqpage__nav a:hover { background: var(--wh-surface-2); color: var(--wh-text); }
.wh-faqpage__groups { display: flex; flex-direction: column; gap: 44px; }
.wh-faqpage__group { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 24px; }
@media (max-width: 900px) { .wh-faqpage { grid-template-columns: minmax(0, 1fr); } .wh-faqpage__nav { position: static; } }

/* ---------- Avisos de WooCommerce ---------- */

.wh-site .woocommerce-message, .wh-site .woocommerce-info, .wh-site .woocommerce-error {
	margin: 0 0 16px; padding: 16px 20px; border: 1px solid var(--wh-border); border-left-width: 1px; border-radius: 12px;
	background: var(--wh-surface); color: var(--wh-text); list-style: none;
}
.wh-site .woocommerce-message::before, .wh-site .woocommerce-info::before, .wh-site .woocommerce-error::before { display: none; }
.wh-site .woocommerce-message .button { float: right; margin-left: 16px; color: var(--wh-link); background: none; border: 0; padding: 0; font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .wh-site * { transition: none !important; } }

/* ---------- Contacto ---------- */

.wh-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 48px; align-items: start; padding-top: 48px; }
.wh-contact__info { display: flex; flex-direction: column; gap: 16px; }
.wh-contact__email { font-size: 18px; font-weight: 600; word-break: break-word; }
.wh-contact__form { padding: 32px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); scroll-margin-top: 24px; }
@media (max-width: 900px) { .wh-contact { grid-template-columns: minmax(0, 1fr); } .wh-contact__form { order: -1; padding: 24px; } }

.wh-form { display: flex; flex-direction: column; gap: 18px; }
.wh-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.wh-field { display: flex; flex-direction: column; gap: 8px; }
.wh-field label { font-size: 14px; font-weight: 500; }
.wh-site .wh-field input, .wh-site .wh-field textarea, .wh-site .wh-field select {
	width: 100%; padding: 12px 16px; border: 1px solid var(--wh-border); border-radius: 12px;
	background: var(--wh-bg); color: var(--wh-text); font: 400 15px/1.5 var(--wh-font);
}
.wh-site .wh-field input { min-height: 48px; }
.wh-site .wh-field textarea { resize: vertical; min-height: 140px; }
.wh-site .wh-field :is(input, textarea, select):focus { outline: 2px solid var(--wh-link); outline-offset: 1px; border-color: transparent; }
.wh-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--wh-muted); }
.wh-check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--wh-accent); }
.wh-form .wh-btn { align-self: flex-start; }
.wh-form__privacy { padding-top: 16px; border-top: 1px solid var(--wh-border); font-size: 13px; line-height: 1.6; color: var(--wh-muted); }
.wh-form__privacy p + p { margin-top: 6px; }
.wh-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wh-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--wh-border); font-size: 15px; }
.wh-alert--success { border-color: #2e7d5b; background: rgba(46, 125, 91, 0.12); }
.wh-alert--error { border-color: #b4474f; background: rgba(180, 71, 79, 0.12); }

/* ---------- Páginas legales ---------- */

.wh-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; }
.wh-legal__toc { position: sticky; top: 24px; }
.wh-legal__toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.wh-legal__toc a { display: block; padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--wh-muted); text-decoration: none; }
.wh-legal__toc a:hover { background: var(--wh-surface-2); color: var(--wh-text); }
@media (max-width: 900px) { .wh-legal { grid-template-columns: minmax(0, 1fr); } .wh-legal__toc { position: static; } }

.wh-prose { max-width: 760px; font-size: 16px; line-height: 1.75; color: #d9d7ea; }
.wh-prose > * + * { margin-top: 1em; }
.wh-prose h2 { margin-top: 2.2em; font-size: 24px; line-height: 1.25; scroll-margin-top: 24px; }
.wh-prose h2:first-child { margin-top: 0; }
.wh-prose h3 { margin-top: 1.6em; font-size: 18px; }
.wh-prose ul, .wh-prose ol { padding-left: 1.4em; }
.wh-prose ul { list-style: disc; }
.wh-prose ol { list-style: decimal; }
.wh-prose li + li { margin-top: 0.4em; }
.wh-prose strong { color: var(--wh-text); }
.wh-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wh-prose th, .wh-prose td { padding: 10px 12px; border: 1px solid var(--wh-border); text-align: left; vertical-align: top; }
.wh-prose th { color: var(--wh-text); background: var(--wh-surface); }

/* ---------- Espaciado de títulos de sección ---------- */

.wh-section-title { margin-bottom: 48px; }
.wh-section > h2 + .wh-faq, .wh-section > h2 + .wh-muted + .wh-compare { margin-top: 48px; }

/* ---------- Changelog ---------- */

.wh-changelog-list { display: flex; flex-direction: column; gap: 56px; }
.wh-changelog-product { scroll-margin-top: 24px; }
.wh-changelog-product__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 24px; }
.wh-timeline { display: flex; flex-direction: column; gap: 28px; border-left: 1px solid var(--wh-border); padding-left: 24px; }
.wh-timeline__version { font-family: var(--wh-mono); font-size: 13.5px; color: var(--wh-link); margin-bottom: 8px; }
.wh-timeline ul { display: flex; flex-direction: column; gap: 6px; color: #d9d7ea; }

/* ---------- Centro de ayuda ---------- */

.wh-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.wh-guide { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); }
.wh-guide__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wh-guide__head h3 { font-size: 20px; }
.wh-guide__head a { color: var(--wh-text); text-decoration: none; }
.wh-guide__block { border-top: 1px solid var(--wh-border); padding-top: 14px; }
.wh-guide__block summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.wh-guide__block summary::-webkit-details-marker { display: none; }
.wh-guide__block summary::after { content: "+"; color: var(--wh-link); font-weight: 600; }
.wh-guide__block[open] summary::after { content: "−"; }
.wh-site .wh-guide__steps { margin-top: 12px; padding-left: 1.3em; list-style: decimal; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #d9d7ea; }
.wh-guide__specs { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.wh-guide__specs div { display: flex; justify-content: space-between; gap: 12px; }
.wh-guide__specs dt { color: var(--wh-muted); }
.wh-guide__specs dd { margin: 0; font-family: var(--wh-mono); font-size: 13px; text-align: right; }
.wh-prose--wide { max-width: 860px; }

/* ---------- Sobre nosotros ---------- */

.wh-about-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.wh-about-story:not(:has(.wh-about-story__media)) { grid-template-columns: minmax(0, 1fr); }
.wh-about-story__img { width: 100%; border-radius: 18px; border: 1px solid var(--wh-border); }
@media (max-width: 860px) { .wh-about-story { grid-template-columns: minmax(0, 1fr); } }
.wh-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.wh-values__title { font-size: 18px; }

/* ---------- Mi cuenta (WooCommerce) ---------- */

.wh-account-wrap::before { top: 40px; }
.wh-account { padding-top: 56px; }
.wh-account > .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.wh-account > .woocommerce > .woocommerce-notices-wrapper,
.wh-account > .woocommerce > .woocommerce-form-login,
.wh-account > .woocommerce > .u-columns,
.wh-account > .woocommerce > h2 { grid-column: 1 / -1; }
.wh-account > .woocommerce::before, .wh-account > .woocommerce::after { display: none; }
.wh-account .woocommerce-MyAccount-navigation, .wh-account .woocommerce-MyAccount-content { float: none; width: auto; }
.wh-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); }
.wh-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 12px; color: var(--wh-muted); text-decoration: none; font-size: 15px; }
.wh-account .woocommerce-MyAccount-navigation a:hover { background: var(--wh-surface-2); color: var(--wh-text); }
.wh-account .woocommerce-MyAccount-navigation .is-active a { background: var(--wh-surface-2); color: var(--wh-text); font-weight: 600; box-shadow: inset 3px 0 0 var(--wh-accent); }
.wh-account .woocommerce-MyAccount-content { display: flex; flex-direction: column; gap: 24px; padding: 36px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface); line-height: 1.7; color: #d9d7ea; }
.wh-account .woocommerce-MyAccount-content > * { margin: 0; }
.wh-account .woocommerce-MyAccount-content p { margin: 0; }
.wh-account .woocommerce-MyAccount-content h2, .wh-account .woocommerce-MyAccount-content h3, .wh-account .woocommerce-Address-title h3 { font-size: 20px; margin: 0 0 12px; }
.wh-account .woocommerce-MyAccount-content a { color: var(--wh-link); }
.wh-account .woocommerce table.shop_table, .wh-account .woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--wh-border); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.wh-account .woocommerce table.shop_table th, .wh-account .woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--wh-border); text-align: left; background: transparent; color: inherit; }
.wh-account .woocommerce table.shop_table th { color: var(--wh-text); font-weight: 600; background: var(--wh-surface-2); }
.wh-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.wh-account .woocommerce-Addresses::before, .wh-account .woocommerce-Addresses::after { display: none; }
.wh-account .woocommerce-Address { float: none !important; width: auto !important; padding: 24px; border: 1px solid var(--wh-border); border-radius: 14px; }
.wh-account .woocommerce-Address address { font-style: normal; color: var(--wh-muted); margin-top: 8px; }
.wh-account .woocommerce form .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; padding: 0; float: none; width: auto; }
.wh-account .woocommerce form .form-row-first, .wh-account .woocommerce form .form-row-last { width: auto; }
.wh-account .woocommerce form label { font-size: 14px; font-weight: 500; color: var(--wh-text); }
.wh-account .woocommerce form .input-text, .wh-account .woocommerce form select, .wh-account .woocommerce form textarea {
	width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--wh-border); border-radius: 12px;
	background: var(--wh-bg); color: var(--wh-text); font: 400 15px/1.5 var(--wh-font); box-shadow: none;
}
.wh-account .woocommerce form .input-text:focus { outline: 2px solid var(--wh-link); outline-offset: 1px; border-color: transparent; }
.wh-account .woocommerce .woocommerce-form-login, .wh-account .woocommerce .woocommerce-form-register, .wh-account .woocommerce .woocommerce-ResetPassword {
	max-width: 520px; margin: 0; padding: 36px; border: 1px solid var(--wh-border); border-radius: 18px; background: var(--wh-surface);
}
.wh-account .woocommerce .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.wh-account .woocommerce .u-columns .u-column1, .wh-account .woocommerce .u-columns .u-column2 { float: none; width: auto; display: flex; flex-direction: column; gap: 20px; }
.wh-account .woocommerce .woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; color: var(--wh-muted); margin-bottom: 16px; }
.wh-account .woocommerce .lost_password { margin-top: 16px; font-size: 14px; }
.wh-account .woocommerce .button, .wh-account .woocommerce button.button, .wh-account .woocommerce a.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
	border: 0; border-radius: 999px; background: var(--wh-accent); color: #fff; font: 600 15px/1.2 var(--wh-font); text-decoration: none; cursor: pointer;
}
.wh-account .woocommerce .button:hover { filter: brightness(1.12); color: #fff; background: var(--wh-accent); }
.wh-account .woocommerce .woocommerce-orders-table .button { min-height: 36px; padding: 0 14px; font-size: 13.5px; margin: 2px; }
.wh-account .woocommerce-pagination--without-numbers { display: flex; gap: 12px; }
@media (max-width: 900px) {
	.wh-account > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.wh-account .woocommerce-MyAccount-content { padding: 24px; }
}
