/* Copy-Tec Web · estilos de las páginas del sitio.
   Se aplica a cualquier bloque con clases ct-*. Los colores y tamaños salen de las variables de :root:
   cámbialas aquí (o en Apariencia → Personalizar → CSS adicional) y cambia todo el sitio. */

:root {
	--ct-ink: #1c1b22;
	--ct-muted: #55545f;
	--ct-paper: #fbfaf6;
	--ct-white: #ffffff;
	--ct-mint: #9be6cd;
	--ct-mint-soft: #ddf6ec;
	--ct-magenta: #c7026e;
	--ct-magenta-dark: #a30259;
	--ct-yellow: #ffd315;
	--ct-chip: #fff3c4;
	--ct-pink: #fe7888;
	--ct-m: clamp(16px, 2.2vw, 32px);
	--ct-gap: clamp(12px, 1.4vw, 24px);
	--ct-sec: clamp(72px, 9vw, 150px);
	--ct-font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ct-fs-display: clamp(2.5rem, 6.4vw, 6.5rem);
	--ct-fs-h2: clamp(2rem, 4.3vw, 4.25rem);
	--ct-fs-h3: clamp(1.25rem, 1.7vw, 1.65rem);
	--ct-fs-body: clamp(1rem, 1.12vw, 1.18rem);
	--ct-fs-small: 0.9375rem;
	--ct-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- base ---------- */
.ct-page,
.ct-page *,
.ct-page *::before,
.ct-page *::after { box-sizing: border-box; }

.ct-page {
	font-family: var(--ct-font);
	font-size: var(--ct-fs-body);
	line-height: 1.55;
	color: var(--ct-ink);
	background: var(--ct-paper);
	overflow-x: clip;
	font-optical-sizing: auto;
}
.ct-page p { margin: 0 0 1em; text-wrap: pretty; max-width: 62ch; }
.ct-page a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
.ct-page a:hover { text-decoration-color: var(--ct-magenta); }
.ct-page ::selection { background: var(--ct-yellow); color: var(--ct-ink); }
.ct-page :focus-visible { outline: 3px solid var(--ct-magenta); outline-offset: 3px; }
.ct-g-ink :focus-visible,
.ct-g-magenta :focus-visible,
.ct-foot :focus-visible { outline-color: var(--ct-yellow); }

.ct-page h1,
.ct-page h2,
.ct-page h3 {
	font-family: var(--ct-font);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
	margin: 0 0 0.45em;
	text-wrap: balance;
	color: inherit;
}
.ct-page h1 { font-size: var(--ct-fs-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.94; }
.ct-page h2 { font-size: var(--ct-fs-h2); }
.ct-page h3 { font-size: var(--ct-fs-h3); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.ct-page strong { font-weight: 700; }
.ct-num { font-variant-numeric: tabular-nums; }

/* ---------- secciones y grounds ---------- */
.ct-s {
	position: relative;
	padding: var(--ct-sec) var(--ct-m);
}
.ct-s.ct-tight { padding-block: clamp(48px, 6vw, 96px); }
.ct-g-paper { background: var(--ct-paper); color: var(--ct-ink); }
.ct-g-white { background: var(--ct-white); color: var(--ct-ink); }
.ct-g-mint { background: var(--ct-mint); color: var(--ct-ink); }
.ct-g-mint-soft { background: var(--ct-mint-soft); color: var(--ct-ink); }
.ct-g-ink { background: var(--ct-ink); color: var(--ct-paper); }
.ct-g-yellow { background: var(--ct-yellow); color: var(--ct-ink); }
.ct-g-magenta { background: var(--ct-magenta); color: var(--ct-white); }

.ct-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--ct-gap);
	row-gap: clamp(28px, 4vw, 56px);
	max-width: 1760px;
	margin-inline: auto;
	align-items: start;
}
.ct-grid > * { min-width: 0; margin-block: 0; }
.ct-c-1-12 { grid-column: 1 / -1; }
.ct-c-1-7 { grid-column: 1 / 8; }
.ct-c-1-6 { grid-column: 1 / 7; }
.ct-c-1-5 { grid-column: 1 / 6; }
.ct-c-1-4 { grid-column: 1 / 5; }
.ct-c-5-8 { grid-column: 5 / 9; }
.ct-c-5-12 { grid-column: 5 / -1; }
.ct-c-6-12 { grid-column: 6 / -1; }
.ct-c-7-12 { grid-column: 7 / -1; }
.ct-c-8-12 { grid-column: 8 / -1; }
.ct-c-9-12 { grid-column: 9 / -1; }
.ct-end { align-self: end; }
.ct-center { align-self: center; }

@media (max-width: 880px) {
	.ct-grid > * { grid-column: 1 / -1 !important; }
}

/* ---------- botones (pastilla, plana) ---------- */
.ct-page .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 0; }
.ct-page .wp-block-button { margin: 0; }
.ct-page .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--ct-magenta);
	color: var(--ct-white);
	font-family: var(--ct-font);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s var(--ct-ease), background-color 0.18s;
}
.ct-page .wp-block-button__link:hover { background: var(--ct-magenta-dark); color: var(--ct-white); transform: translateY(-2px); text-decoration: none; }
.ct-page .wp-block-button__link:active { transform: translateY(0) scale(0.98); }
.ct-g-magenta .wp-block-button__link { background: var(--ct-white); color: var(--ct-ink); }
.ct-g-magenta .wp-block-button__link:hover { background: var(--ct-yellow); color: var(--ct-ink); }
.ct-g-yellow .wp-block-button__link { background: var(--ct-ink); color: var(--ct-white); }
.ct-g-yellow .wp-block-button__link:hover { background: var(--ct-magenta); }
.ct-page .ct-btn-ink .wp-block-button__link { background: var(--ct-ink); color: var(--ct-white); }
.ct-page .ct-btn-ink .wp-block-button__link:hover { background: var(--ct-magenta); }
.ct-page .ct-btn-small .wp-block-button__link { min-height: 44px; padding: 0 22px; font-size: 1rem; }
.ct-link { font-weight: 700; }
.ct-link a { text-decoration: underline; }

/* ---------- cabecera (réplica para la vista previa; en WordPress la pone Kadence) ---------- */
.ct-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px var(--ct-m);
	background: var(--ct-paper);
	color: var(--ct-ink);
	font-family: var(--ct-font);
}
.ct-bar a { color: inherit; text-decoration: none; }
.ct-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; }
.ct-brand svg { width: 34px; height: 34px; flex: none; }
.ct-bar nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-weight: 600; font-size: 1.0625rem; }
.ct-bar nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.ct-bar .ct-bar-cta { background: var(--ct-magenta); color: var(--ct-white); border-radius: 999px; padding: 12px 22px; font-weight: 700; transition: transform 0.18s var(--ct-ease), background-color 0.18s; }
.ct-bar .ct-bar-cta:hover { background: var(--ct-magenta-dark); transform: translateY(-2px); text-decoration: none; }
@media (max-width: 880px) {
	.ct-bar nav a:not(.ct-bar-cta) { display: none; }
}

/* ---------- ticket (el objeto de la página) ---------- */
.ct-ticket {
	position: relative;
	background: var(--ct-white);
	color: var(--ct-ink);
	padding: clamp(28px, 3vw, 44px) clamp(22px, 2.6vw, 40px);
	margin-block: 8px;
}
.ct-ticket::before,
.ct-ticket::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 8px;
	background-repeat: repeat-x;
	background-size: 16px 8px;
}
.ct-ticket::before {
	top: -7px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 8L8 0L16 8Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.ct-ticket::after {
	bottom: -7px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 0L8 8L16 0Z' fill='%23ffffff'/%3E%3C/svg%3E");
}
.ct-ticket p { max-width: none; margin: 0; }
.ct-ticket-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.02em; margin-bottom: 18px !important; }
.ct-ticket-title svg { width: 26px; height: 26px; }
.ct-ticket-big { font-size: clamp(2.75rem, 5.2vw, 4.5rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ct-ticket-big span { font-size: 0.4em; font-weight: 600; letter-spacing: -0.02em; margin-left: 0.2em; }
.ct-perf { border: 0; border-top: 4px dotted var(--ct-ink); opacity: 0.28; margin: 22px 0; height: 0; }
.ct-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; margin: 0 0 8px !important; font-size: 1.0625rem; }
.ct-row b { font-weight: 700; white-space: nowrap; }
.ct-row small { display: block; font-size: var(--ct-fs-small); color: var(--ct-muted); font-weight: 500; }
.ct-row.ct-total { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin-top: 4px !important; }
.ct-note { font-size: var(--ct-fs-small); color: var(--ct-muted); }
.ct-g-ink .ct-note { color: #c9c7d3; }

.ct-calc-ctl { display: none; margin-top: 16px; }
.ct-js .ct-calc-ctl { display: block; }
.ct-calc input[type="range"] { width: 100%; height: 44px; margin: 0; background: transparent; accent-color: var(--ct-magenta); cursor: pointer; }
.ct-calc input[type="range"]::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: var(--ct-mint); }
.ct-calc input[type="range"]::-moz-range-track { height: 12px; border-radius: 999px; background: var(--ct-mint); }
.ct-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -10px; border-radius: 50%; background: var(--ct-magenta); border: 4px solid var(--ct-white); transition: transform 0.15s var(--ct-ease); }
.ct-calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--ct-magenta); border: 4px solid var(--ct-white); }
.ct-calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.ct-calc-scale { display: flex; justify-content: space-between; font-size: var(--ct-fs-small); color: var(--ct-muted); }
.ct-tick { animation: ct-tick 0.35s var(--ct-ease); }
@keyframes ct-tick { from { opacity: 0.2; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.ct-hero { padding-top: clamp(32px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 110px); }
.ct-hero .ct-grid { align-items: center; }
.ct-hero p.ct-lead { font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.4; max-width: 34ch; margin: 0 0 28px; }
.ct-hero .ct-print { animation: ct-print 0.9s var(--ct-ease) both; transform-origin: top center; }
@keyframes ct-print { from { opacity: 0; transform: translateY(-28px) scaleY(0.96); } to { opacity: 1; transform: none; } }

/* ---------- textos de sección ---------- */
.ct-lead-col p { font-size: clamp(1.0625rem, 1.3vw, 1.3rem); }
.ct-lines p { margin: 0 0 18px; max-width: 46ch; }
.ct-lines p strong { display: block; font-size: var(--ct-fs-h3); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 2px; }

/* ---------- fragmentos de interfaz del producto ---------- */
[data-ui] {
	font-family: var(--ct-font);
	font-size: 14px;
	line-height: 1.4;
	color: var(--ct-ink);
	background: var(--ct-white);
	border-radius: 14px;
	padding: 20px;
	text-align: left;
}
[data-ui] * { box-sizing: border-box; }
[data-ui] p { margin: 0; max-width: none; font-size: inherit; }
.ui-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.ui-tab { padding: 8px 14px; border-radius: 999px; font-weight: 600; background: #f0eee6; }
.ui-tab.on { background: var(--ct-ink); color: #fff; }
.ui-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.ui-label { font-weight: 700; margin-bottom: 8px; }
.ui-doc { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: #f6f4ee; border-radius: 10px; margin-bottom: 8px; }
.ui-doc small { color: var(--ct-muted); display: block; }
.ui-ok { color: #0a7a56; font-weight: 700; white-space: nowrap; }
.ui-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.ui-opt { padding: 10px 12px; border: 1px solid #d9d6c8; border-radius: 10px; font-weight: 600; }
.ui-opt.on { border: 2px solid var(--ct-magenta); background: #fff0f7; padding: 9px 11px; }
.ui-opt small { display: block; font-weight: 400; color: var(--ct-muted); }
.ui-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.ui-quote { background: var(--ct-chip); border-radius: 12px; padding: 16px; align-self: start; }
.ui-quote .r { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.ui-quote .t { display: flex; justify-content: space-between; font-size: 22px; font-weight: 800; margin-top: 12px; letter-spacing: -0.02em; }
.ui-btn { display: block; text-align: center; background: var(--ct-magenta); color: #fff; font-weight: 700; padding: 12px; border-radius: 999px; margin-top: 14px; }
.ui-btn.ink { background: var(--ct-ink); }
.ui-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ui-table th { text-align: left; font-weight: 600; color: var(--ct-muted); padding: 0 8px 8px 0; font-size: 13px; }
.ui-table td { padding: 4px 8px 4px 0; }
.ui-field { display: block; border: 1px solid #cfccbd; border-radius: 8px; padding: 7px 10px; background: #fff; font-variant-numeric: tabular-nums; }
.ui-sim { margin-top: 16px; background: var(--ct-mint-soft); border-radius: 10px; padding: 12px 14px; font-variant-numeric: tabular-nums; }
.ui-scan { background: var(--ct-ink); color: #fff; border-radius: 12px; min-height: 150px; display: grid; place-items: center; text-align: center; padding: 16px; margin-bottom: 14px; }
.ui-scan b { display: block; font-size: 16px; margin-bottom: 4px; }
.ui-order { background: var(--ct-mint-soft); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.ui-order h4 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.02em; font-family: var(--ct-font); }
.ui-queue .q { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; }
.ui-queue .q + .q { border-top: 1px solid #ebe8dc; }
.ui-state { padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.s-proc { background: #e9e7de; }
.s-print { background: var(--ct-yellow); }
.s-ready { background: var(--ct-mint); }
.s-done { background: var(--ct-ink); color: #fff; }
.ui-mail { max-width: 340px; margin-inline: auto; }
.ui-mail h4 { margin: 0 0 6px; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; font-family: var(--ct-font); }
.ui-mail img { display: block; width: 170px; height: 170px; margin: 16px auto; }
.ui-mail .band { background: var(--ct-mint); margin: -20px -20px 16px; padding: 14px 20px; border-radius: 14px 14px 0 0; font-weight: 800; font-size: 16px; }

@media (max-width: 880px) {
	.ui-cols { grid-template-columns: 1fr; }
}

/* ---------- estados del pedido (franja) ---------- */
.ct-states { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ct-gap); }
.ct-state { border-radius: 20px; padding: clamp(20px, 2.2vw, 32px); min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.ct-state h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -0.035em; line-height: 1; }
.ct-state p { margin: 0; font-size: var(--ct-fs-body); max-width: 26ch; }
.ct-state.a { background: var(--ct-white); }
.ct-state.b { background: var(--ct-yellow); }
.ct-state.c { background: var(--ct-mint); }
.ct-state.d { background: var(--ct-ink); color: var(--ct-paper); }
.ct-state.d h3 { color: var(--ct-paper); }
@media (max-width: 880px) { .ct-states { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ct-states { grid-template-columns: 1fr; } .ct-state { min-height: 0; } }

/* ---------- lista de funciones (texto grande) ---------- */
.ct-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px) var(--ct-gap); }
.ct-feats > * { margin: 0 !important; }
.ct-feats p { max-width: 36ch; }
.ct-feats p strong { display: block; font-size: var(--ct-fs-h3); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 4px; }
@media (max-width: 880px) { .ct-feats { grid-template-columns: 1fr; } }

/* ---------- planes (líneas de precio) ---------- */
.ct-plans { display: grid; gap: var(--ct-gap); }
.ct-plan {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 2.4fr);
	gap: var(--ct-gap);
	align-items: center;
	background: var(--ct-white);
	color: var(--ct-ink);
	border-radius: 20px;
	padding: clamp(20px, 2.4vw, 36px);
}
.ct-plan > * { margin: 0 !important; min-width: 0; }
.ct-plan h3 { font-size: clamp(1.75rem, 2.8vw, 2.75rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px !important; }
.ct-plan .ct-plan-caras { font-size: clamp(1.25rem, 1.7vw, 1.65rem); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ct-plan .ct-plan-caras small { display: block; font-size: var(--ct-fs-small); font-weight: 500; color: var(--ct-muted); letter-spacing: 0; }
.ct-plan .ct-feat { font-size: var(--ct-fs-small); line-height: 1.45; max-width: none; }
.ct-plan .ct-feat span { display: block; }
.ct-plan .ct-price { font-size: clamp(2.25rem, 3.8vw, 3.75rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 12px !important; }
.ct-plan .ct-price small { font-size: 0.34em; font-weight: 600; letter-spacing: -0.01em; margin-left: 4px; }
.ct-plan.is-featured { background: var(--ct-ink); color: var(--ct-paper); }
.ct-plan.is-featured .ct-plan-caras small { color: #c9c7d3; }
.ct-plan.is-featured .wp-block-button__link { background: var(--ct-yellow); color: var(--ct-ink); }
.ct-plan.is-featured .wp-block-button__link:hover { background: var(--ct-white); }
.ct-page .ct-plan .wp-block-button__link { background: var(--ct-ink); color: #fff; }
.ct-page .ct-plan .wp-block-button__link:hover { background: var(--ct-magenta); color: #fff; }
.ct-page .ct-plan.is-featured .wp-block-button__link { background: var(--ct-yellow); color: var(--ct-ink); }
.ct-page .ct-plan.is-featured .wp-block-button__link:hover { background: #fff; color: var(--ct-ink); }
@media (max-width: 980px) {
	.ct-plan { grid-template-columns: 1fr 1fr; row-gap: 18px; }
}
@media (max-width: 560px) {
	.ct-plan { grid-template-columns: 1fr; }
}

/* ---------- bonos ---------- */
.ct-bonos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ct-gap); align-items: stretch; }
.ct-bono { background: var(--ct-white); color: var(--ct-ink); border-radius: 20px; padding: clamp(20px, 2.2vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.ct-bono > * { margin: 0 !important; }
.ct-bono:nth-child(2) { background: var(--ct-ink); color: var(--ct-paper); }
.ct-bono .ct-bono-caras { font-size: clamp(2.5rem, 4.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.ct-bono .ct-bono-caras small { display: block; font-size: 0.3em; font-weight: 600; letter-spacing: -0.01em; margin-top: 8px; }
.ct-bono .ct-bono-price { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ct-bono .ct-bono-price small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; }
.ct-page .ct-bono:nth-child(2) .wp-block-button__link { background: var(--ct-yellow); color: var(--ct-ink); }
@media (max-width: 880px) { .ct-bonos { grid-template-columns: 1fr; } }

/* ---------- preguntas ---------- */
.ct-faq { display: grid; gap: 10px; }
.ct-page details.wp-block-details {
	background: var(--ct-white);
	color: var(--ct-ink);
	border-radius: 16px;
	padding: 0;
	margin: 0;
	transition: background-color 0.2s;
}
.ct-g-white details.wp-block-details { background: var(--ct-paper); }
.ct-page details.wp-block-details[open] { background: var(--ct-mint-soft); }
.ct-page details.wp-block-details summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 22px clamp(18px, 2vw, 28px);
	font-size: clamp(1.1rem, 1.5vw, 1.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	min-height: 64px;
}
.ct-page details.wp-block-details summary::-webkit-details-marker { display: none; }
.ct-page details.wp-block-details summary::after {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: var(--ct-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Crect x='8' y='13' width='12' height='2' fill='%23fff'/%3E%3Crect x='13' y='8' width='2' height='12' fill='%23fff'/%3E%3C/svg%3E");
	transition: transform 0.25s var(--ct-ease), background-color 0.2s;
}
.ct-page details.wp-block-details[open] summary::after { transform: rotate(135deg); background-color: var(--ct-magenta); }
.ct-page details.wp-block-details > :not(summary) { padding: 0 clamp(18px, 2vw, 28px); max-width: 64ch; }
.ct-page details.wp-block-details > p:last-child { padding-bottom: 22px; margin-bottom: 0; }

/* ---------- cierre y pie (reverso del ticket) ---------- */
.ct-cta { padding-bottom: calc(var(--ct-sec) + 12px); }
.ct-cta h2 { font-size: clamp(2.5rem, 7vw, 7rem); letter-spacing: -0.05em; line-height: 0.94; max-width: 14ch; }
.ct-cta p { font-size: clamp(1.125rem, 1.5vw, 1.5rem); max-width: 36ch; }
.ct-foot {
	position: relative;
	background: var(--ct-ink);
	color: var(--ct-paper);
	padding: clamp(56px, 6vw, 96px) var(--ct-m) 28px;
}
.ct-foot::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 12px;
	background-color: var(--ct-edge, var(--ct-magenta));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 0L12 12L24 0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 12px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M0 0L12 12L24 0Z'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 12px;
}
.ct-g-mint + .ct-foot { --ct-edge: var(--ct-mint); }
.ct-g-mint-soft + .ct-foot { --ct-edge: var(--ct-mint-soft); }
.ct-g-paper + .ct-foot { --ct-edge: var(--ct-paper); }
.ct-g-white + .ct-foot { --ct-edge: var(--ct-white); }
.ct-g-yellow + .ct-foot { --ct-edge: var(--ct-yellow); }
.ct-g-magenta + .ct-foot { --ct-edge: var(--ct-magenta); }
.ct-foot a { text-decoration: none; }
.ct-foot a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.ct-foot p { margin: 0 0 6px; max-width: none; }
.ct-foot-cols { max-width: 1760px; margin: 0 auto clamp(40px, 6vw, 88px); }
.ct-foot-cols p strong { display: block; font-size: var(--ct-fs-h3); letter-spacing: -0.02em; margin-bottom: 8px; }
.ct-foot-name {
	display: block;
	max-width: 1760px;
	margin: 0 auto;
	font-family: var(--ct-font);
	font-weight: 800;
	font-size: clamp(3.5rem, 17.2vw, 17rem);
	letter-spacing: -0.04em;
	line-height: 0.82;
	white-space: nowrap;
	color: var(--ct-paper);
	padding-bottom: 0.06em;
}
.ct-foot-name span { color: var(--ct-mint); }
.ct-foot-legal { max-width: 1760px; margin: 24px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--ct-fs-small); color: #c9c7d3; }

/* ---------- animación de entrada (solo si hay JavaScript) ---------- */
.ct-js [data-ct-rise] { opacity: 0; transform: translateY(18px); transition: opacity 0.45s var(--ct-ease), transform 0.5s var(--ct-ease); transition-delay: var(--ct-d, 0ms); }
.ct-js [data-ct-rise].is-in { opacity: 1; transform: none; }
.ct-page .ct-lift { transition: transform 0.25s var(--ct-ease); }
.ct-page .ct-lift:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
	.ct-js [data-ct-rise] { opacity: 1; transform: none; transition: none; }
	.ct-hero .ct-print, .ct-tick { animation: none; }
	.ct-page .wp-block-button__link, .ct-page .ct-lift { transition: none; }
	.ct-page .wp-block-button__link:hover, .ct-page .ct-lift:hover { transform: none; }
}

/* ---------- WordPress: Kadence y WooCommerce ---------- */
body.ct-web .entry-hero,
body.ct-web .page-hero-section,
body.ct-web .entry-header { display: none; }
body.ct-web .content-container.site-container,
body.ct-web .site-container.content-container { max-width: none; padding: 0; }
body.ct-web .content-area { margin: 0; padding: 0; }
body.ct-web .entry-content-wrap { padding: 0; }
body.ct-web .entry.single-entry { box-shadow: none; background: transparent; }
body.ct-web .entry-content { margin: 0; }
body.ct-web .content-bg, body.ct-web .content-bg.entry { background: transparent; box-shadow: none; }
body.ct-web #colophon, body.ct-web .site-footer-wrap { display: none; }
body.ct-web .alignfull { max-width: none; }

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce #place_order {
	background: var(--ct-magenta);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
	min-height: 48px;
	padding-inline: 28px;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #place_order:hover { background: var(--ct-magenta-dark); color: #fff; }
.woocommerce div.product .product_title { letter-spacing: -0.04em; font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ct-ink); font-weight: 800; letter-spacing: -0.03em; }

/* ---------- añadidos ---------- */
.ct-after { margin-top: 20px; }
.ct-ticket-title::before { content: ""; width: 26px; height: 26px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23c7026e' d='M10 4H54Q60 4 60 10V52L56 60L52 52L48 60L44 52L40 60L36 52L32 60L28 52L24 60L20 52L16 60L12 52L8 60L4 52V10Q4 4 10 4Z'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='7' d='M35.78 20.22A11 11 0 1 0 35.78 35.78'/%3E%3Crect x='40' y='25' width='8' height='8' fill='%23ffd315'/%3E%3C/svg%3E") center / contain no-repeat; }
.ct-ticket .ct-note a { font-weight: 700; }

/* filas definidas: nombre a la izquierda, texto a la derecha */
.ct-defs { display: grid; gap: 10px; }
.ct-defs > p {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: var(--ct-gap);
	align-items: baseline;
	margin: 0;
	max-width: none;
	padding: clamp(18px, 2vw, 28px) clamp(18px, 2vw, 28px);
	border-radius: 16px;
	background: var(--ct-white);
}
.ct-g-white .ct-defs > p { background: var(--ct-paper); }
.ct-g-ink .ct-defs > p { background: #2a2933; }
.ct-defs > p strong { font-size: var(--ct-fs-h3); line-height: 1.15; letter-spacing: -0.02em; }
@media (max-width: 880px) { .ct-defs > p { grid-template-columns: 1fr; gap: 4px; } }

/* dos listas lado a lado */
.ct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ct-gap); }
.ct-two > * { margin: 0 !important; background: var(--ct-white); border-radius: 20px; padding: clamp(22px, 2.6vw, 40px); }
.ct-two h3 { font-size: clamp(1.75rem, 2.8vw, 2.75rem); letter-spacing: -0.04em; margin-bottom: 18px; }
.ct-two .ct-lines p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .ct-two { grid-template-columns: 1fr; } }

/* muestras de color (fragmento de ajustes) */
.ui-sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ui-sw div { border-radius: 12px; padding: 36px 10px 10px; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.ui-sw small { display: block; font-weight: 400; opacity: 0.8; }
.ui-lines p { margin: 0 0 6px; }
.ui-chip { display: inline-block; background: #f0eee6; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12.5px; margin: 0 6px 6px 0; }
.ui-chip.on { background: var(--ct-ink); color: #fff; }
.ui-file { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #f6f4ee; border-radius: 10px; margin-top: 8px; }
.ct-plan .ct-price .ct-from { display: block; margin: 0 0 2px; font-size: var(--ct-fs-small); font-weight: 600; letter-spacing: 0; }
.ct-c-5-8 { grid-column: 5 / 9; }

/* ---------- compatibilidad con WordPress 6.x / Kadence ---------- */
/* WordPress envuelve el contenido de los grupos en .wp-block-group__inner-container: que no cuente para la rejilla. */
.ct-page .wp-block-group > .wp-block-group__inner-container { display: contents; }
/* El espaciado automático entre bloques no debe separar las secciones. */
.ct-page .ct-s,
.ct-page .ct-foot { margin-block: 0; }
body.ct-web { background: var(--ct-paper); }
body.ct-web .site-main, body.ct-web #primary, body.ct-web .content-area { background: transparent; }
/* Kadence da borde y relleno a los campos: el control deslizante del ticket va sin ellos. */
.ct-calc input[type="range"] { -webkit-appearance: none; appearance: none; border: 0; padding: 0; box-shadow: none; background: transparent; min-height: 0; }
/* Cabecera de Kadence con la marca. */
body.ct-web .header-button, .header-button-wrap .button { background: var(--ct-magenta); color: #fff; border-radius: 999px; border: 0; font-weight: 700; }
.header-button-wrap .button:hover { background: var(--ct-magenta-dark); color: #fff; }
body.wp-custom-logo .site-branding .site-title-wrap { display: none; }

/* ---------- página «próximamente» de WooCommerce ---------- */
.wp-block-woocommerce-coming-soon.woocommerce-coming-soon-default { background: var(--ct-mint); color: var(--ct-ink); font-family: var(--ct-font); }
.woocommerce-coming-soon-default .wp-block-cover { background: transparent; color: var(--ct-ink); padding-inline: var(--ct-m) !important; }
.woocommerce-coming-soon-default .wp-block-cover__background { background: transparent !important; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-banner-container { max-width: 1760px; margin-inline: auto; width: 100%; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-header { padding-inline: 0 !important; background: transparent; }
.woocommerce-coming-soon-default .wp-block-site-logo img { width: clamp(150px, 16vw, 220px); height: auto; max-width: none; }
.woocommerce-coming-soon-default .wp-block-site-title { display: none; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-header-login .wp-block-button__link {
	background: transparent;
	color: var(--ct-ink);
	border: 2px solid var(--ct-ink);
	border-radius: 999px;
	min-height: 44px;
	padding: 0 24px;
	font-family: var(--ct-font);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.18s, color 0.18s;
}
.woocommerce-coming-soon-default .woocommerce-coming-soon-header-login .wp-block-button__link:hover { background: var(--ct-ink); color: var(--ct-white); }
.woocommerce-coming-soon-default .ct-soon-main { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ct-gap); row-gap: 28px; align-items: center; align-content: center; width: 100%; padding-block: clamp(24px, 5vw, 72px); }
.woocommerce-coming-soon-default .woocommerce-coming-soon-banner {
	grid-column: 1 / 8;
	grid-row: 1;
	margin: 0;
	max-width: none;
	text-align: left;
	font-family: var(--ct-font);
	font-size: clamp(2.75rem, 7vw, 7rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 0.94;
	text-wrap: balance;
	color: var(--ct-ink);
}
.woocommerce-coming-soon-default .ct-soon-copy { grid-column: 1 / 8; grid-row: 2; }
.woocommerce-coming-soon-default .ct-soon-lead { margin: 0 0 24px; font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.4; max-width: 34ch; }
.woocommerce-coming-soon-default .ct-soon-btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	background: var(--ct-magenta);
	color: var(--ct-white);
	font-weight: 700;
	font-size: 1.0625rem;
	text-decoration: none;
	transition: transform 0.18s var(--ct-ease), background-color 0.18s;
}
.woocommerce-coming-soon-default .ct-soon-btn:hover { background: var(--ct-magenta-dark); color: var(--ct-white); transform: translateY(-2px); }
.woocommerce-coming-soon-default .ct-soon-ticket { grid-column: 8 / -1; grid-row: 1 / span 2; margin-block: 8px; }
.woocommerce-coming-soon-default .ct-soon-ticket .ct-row small { color: var(--ct-muted); }
.woocommerce-coming-soon-default .wp-block-social-links { justify-content: center; }
.woocommerce-coming-soon-default .wp-block-social-links .wp-social-link a { color: var(--ct-ink); }
@media (max-width: 880px) {
	.woocommerce-coming-soon-default .woocommerce-coming-soon-banner,
	.woocommerce-coming-soon-default .ct-soon-copy,
	.woocommerce-coming-soon-default .ct-soon-ticket { grid-column: 1 / -1; grid-row: auto; }
}
.woocommerce-coming-soon-default .ct-soon-main { grid-template-rows: 1fr 1fr; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-banner { align-self: end; }
.woocommerce-coming-soon-default .ct-soon-copy { align-self: start; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-header-login .wp-block-button__link { color: var(--ct-ink) !important; background: transparent !important; border: 2px solid var(--ct-ink) !important; }
.woocommerce-coming-soon-default .woocommerce-coming-soon-header-login .wp-block-button__link:hover { background: var(--ct-ink) !important; color: var(--ct-white) !important; }
.woocommerce-coming-soon-default a.ct-soon-btn { background: var(--ct-magenta) !important; color: var(--ct-white) !important; opacity: 1; }
.woocommerce-coming-soon-default a.ct-soon-btn:hover { background: var(--ct-magenta-dark) !important; }
@media (max-width: 880px) { .woocommerce-coming-soon-default .ct-soon-main { grid-template-rows: none; } .woocommerce-coming-soon-default .woocommerce-coming-soon-banner, .woocommerce-coming-soon-default .ct-soon-copy { align-self: auto; } }
