/* =========================================================
 * Crea tu polera (/crea-tu-polera/) · creator.php
 * Única hoja del tema en esta página: no depende de Astra ni de WooCommerce.
 * Estilo suave: sombras en vez de bordes negros, anillo rosado al elegir.
 * ========================================================= */

.turo-creator-page {
	--tc-line: rgba(17, 17, 17, .08);
	--tc-line-strong: rgba(17, 17, 17, .16);
	--tc-shadow: 0 10px 30px rgba(17, 17, 17, .08);
	--tc-shadow-sm: 0 4px 14px rgba(17, 17, 17, .07);
	--tc-shadow-lg: 0 18px 44px rgba(17, 17, 17, .12);
	--tc-ink: #111;
	--tc-yellow: #fff3a3;
	--tc-pink: var(--turo-violet, #bb9efa);
	--tc-green: #83d2a8;
	--tc-cream: #f7f3ed;
	--tc-muted: #666;
	--tc-ring: 0 0 0 3px var(--tc-pink);
	margin: 0;
	background: var(--tc-cream);
	color: var(--tc-ink);
	font-family: "Poppins", sans-serif;
	-webkit-text-size-adjust: 100%;
}
.turo-creator-page *,
.turo-creator-page *::before,
.turo-creator-page *::after { box-sizing: border-box; }
.turo-creator-page img { max-width: 100%; height: auto; }
.turo-creator-page [hidden] { display: none !important; }
.turo-creator-page .joinchat { display: none !important; } /* el WhatsApp ya está en la barra */
/* Emojis que WordPress convierte en imagen: siempre del tamaño del texto. */
.turo-creator-page img.emoji { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .07em !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; vertical-align: -.1em !important; }
/* Bases sin especificidad (:where) para que las clases de abajo siempre ganen. */
:where(.tc) :where(button, input) { margin: 0; font: inherit; color: inherit; }
:where(.tc) button { -webkit-tap-highlight-color: transparent; }
:where(.tc) :where(h1, h2, h3) { font-family: inherit; color: var(--tc-ink); text-transform: none; }

/* Encabezado mínimo */
.tc-top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--tc-line); box-shadow: var(--tc-shadow-sm); }
/* Envío gratis RM: franja chica, fija arriba con el resto del header (envio-gratis.php). */
.tc-ship { margin: 0; padding: 11px 14px; background: #111; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; text-align: center; }
.tc-ship b { display: inline-block; padding: 0 7px; border-radius: 7px; background: var(--turo-violet, #bb9efa); color: #111; font-weight: 900; }
@media (max-width: 767px) { .tc-ship { padding: 9px 12px; font-size: 14px; } }
.tc-top__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
.tc-top__logo img { display: block; width: 76px; height: auto; }
.tc-top h1 { margin: 0; font-size: 15px; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; text-align: center; }
.tc-top__exit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 99px; color: #666; font-size: 12px; font-weight: 700; text-decoration: none; }
.tc-progress { max-width: 1180px; margin: 0 auto; padding: 0 16px 10px; }
.tc-progress ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: tc-step; margin: 0; padding: 0; list-style: none; }
.tc-progress li { position: relative; counter-increment: tc-step; }
.tc-progress li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: #e8e4dc; }
.tc-progress li:last-child::after { display: none; }
.tc-progress button { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; color: #5f5a52; font-size: 12px; font-weight: 700; text-align: center; cursor: pointer; }
.tc-progress button::before { content: counter(tc-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e8e4dc; color: #666; font-size: 12px; font-weight: 900; }
.tc-progress .is-done button,
.tc-progress .is-current button { color: var(--tc-ink); }
.tc-progress .is-done button::before { content: "✓"; background: var(--tc-ink); color: #fff; }
.tc-progress .is-current button::before { background: var(--tc-pink); color: var(--tc-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tc-pink) 20%, transparent); }
.tc-progress li.is-done::after { background: var(--tc-ink); }
/* Siempre visible, en todos los pasos (va dentro del encabezado fijo). */

/* Cuerpo */
.tc-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 16px 190px; }
.tc-side { display: none; }
.tc-step { display: none; }
.tc-step.is-active { display: block; animation: tc-in .35s ease both; }
@keyframes tc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tc-eyebrow { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 99px; background: var(--tc-yellow); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tc h2 { margin: 0 0 8px; font-size: clamp(28px, 6vw, 44px); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.tc-lead { margin: 0 0 22px; color: #444; font-size: 15px; line-height: 1.5; }
.tc-label { margin: 22px 0 10px; font-size: 15px; font-weight: 900; }
.tc-label small { display: block; color: var(--tc-muted); font-size: 12px; font-weight: 500; }

/* Opciones: radios ocultos, tarjeta con sombra */
.tc-swatches input,
.tc-kind input,
.tc-toggle input,
.tc-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.tc :focus-visible { outline: 3px solid var(--tc-pink); outline-offset: 2px; }
.tc label:has(input:focus-visible) { outline: 3px solid var(--tc-pink); outline-offset: 2px; }

/* Paso 1 */
.tc-types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-type { overflow: hidden; border: 1px solid var(--tc-line); border-radius: 24px; background: #fff; box-shadow: var(--tc-shadow); transition: transform .15s, box-shadow .15s; }
.tc-type.is-on { transform: translateY(-2px); box-shadow: var(--tc-ring), var(--tc-shadow-lg); }
.tc-type__pick { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.tc-type__pick img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.tc-type__badge { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 8px; background: rgba(255, 255, 255, .94); font-size: 13px; font-weight: 800; line-height: 1.25; text-align: center; }
.tc-type.is-on .tc-type__badge { background: var(--tc-pink); }
.tc-type__row { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 14px; }
.tc-type.is-on .tc-type__row { background: var(--tc-yellow); }
.tc-type__row b { font-size: 18px; font-weight: 900; }
.tc-stepper { display: inline-flex; align-items: center; gap: 14px; }
.tc-stepper button { width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--tc-ink); border-radius: 50%; background: #fff; color: var(--tc-ink); font-size: 24px; font-weight: 700; line-height: 1; cursor: pointer; }
.tc-stepper .tc-stepper__add { border-color: var(--tc-pink); background: var(--tc-pink); }
.tc-stepper button:disabled { opacity: .3; cursor: default; }
.tc-stepper strong { min-width: 20px; font-size: 24px; font-weight: 900; text-align: center; }

/* Paso 3 */
.tc-card { display: block; margin-bottom: 14px; padding: 16px; border: 1px solid var(--tc-line); border-radius: 20px; background: #fff; box-shadow: var(--tc-shadow); }
.tc-card__title { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 900; }
.tc-card__title small { display: block; color: var(--tc-muted); font-size: 12px; font-weight: 500; }
.tc-pet__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; font-weight: 900; }
.tc-pet__head > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tc-pink); font-size: 12px; }
.tc-field { display: block; margin-bottom: 12px; }
.tc-field > span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 700; }
.tc-field > span small { color: var(--tc-muted); font-weight: 500; }
.tc-field--acc { margin: 12px 0 0; }
.tc-field > span i { font-style: normal; }
.tc-thumbs + .tc-field { margin-top: 12px; }
.tc-field input[type="text"],
.tc-acc-other { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--tc-line-strong); border-radius: 14px; background: #fafafa; font-size: 16px; outline: 0; }
.tc-field input[type="text"]:focus,
.tc-acc-other:focus { background: #fff; box-shadow: 0 0 0 3px var(--tc-yellow); }
.tc-acc-other { margin-top: 8px; }
/* Lo que falta para avanzar, en rojo. */
.tc-field.is-missing > span { color: #b42318; }
.tc-field.is-missing input[type="text"],
.tc-acc-other.is-missing { border: 2px solid #b42318; background: #fff5f4; }
.tc-colors.is-missing .tc-swatches { padding: 8px; border: 2px solid #b42318; border-radius: 14px; background: #fff5f4; }
/* Fotos: subir ahora o mandarlas después, las dos igual de visibles. */
.tc-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tc-photo__opt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px 14px; border: 2px solid var(--tc-line-strong); border-radius: 16px; background: #fff; color: var(--tc-ink); font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tc-photo__opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tc-photo__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 14px; background: var(--tc-cream); font-size: 24px; }
.tc-photo__opt b { font-size: 14.5px; font-weight: 900; line-height: 1.2; }
.tc-photo__opt small { color: var(--tc-muted); font-size: 11.5px; line-height: 1.3; }
.tc-photo__opt.has-files,
.tc-photo__opt[aria-pressed="true"] { border-color: var(--tc-ink); background: var(--tc-yellow); box-shadow: 0 0 0 1px var(--tc-ink); }
.tc-photo__opt.has-files .tc-photo__icon,
.tc-photo__opt[aria-pressed="true"] .tc-photo__icon { background: #fff; }
.tc-photo__opt.has-files::after,
.tc-photo__opt[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tc-ink); color: #fff; font-size: 12px; font-weight: 900; }
.tc-photo.is-missing .tc-photo__opt { border-color: #b42318; background: #fff5f4; }
.tc-later { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--tc-cream); font-size: 12.5px; line-height: 1.45; }
/* El nombre solo se pide con la estampa doble: va chico adelante. */
.tc:not(.is-double) .tc-field--name { display: none; }
.tc-field--name { margin-top: 14px; }
.tc-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.tc-thumbs:empty { display: none; }
.tc-thumbs img { width: 60px; height: 60px; object-fit: cover; border: 1px solid var(--tc-line); border-radius: 12px; }
.tc-notes textarea { display: block; width: 100%; min-height: 110px; padding: 12px 14px; border: 1px solid var(--tc-line-strong); border-radius: 14px; background: #fafafa; font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; outline: 0; }
.tc-notes textarea:focus { background: #fff; box-shadow: 0 0 0 3px var(--tc-yellow); }
.tc-notes > small { display: block; margin-top: 8px; color: var(--tc-muted); font-size: 12px; line-height: 1.4; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-chips button { padding: 7px 12px; border: 1px solid var(--tc-line-strong); border-radius: 99px; background: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3; cursor: pointer; }
.tc-chips button[aria-pressed="true"] { border-color: var(--tc-ink); background: var(--tc-ink); color: #fff; }

/* Paso 4 */
.tc-restored { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--tc-shadow-sm); font-size: 13px; line-height: 1.4; }
.tc-restored p { margin: 0; }
.tc-restored > span { font-size: 20px; }
.tc-sizehelp { display: block; margin-top: 10px; padding: 11px 14px; border-radius: 14px; background: #fff; box-shadow: var(--tc-shadow-sm); color: var(--tc-ink); font-size: 12.5px; text-decoration: none; }
.tc-sizehelp b { font-weight: 800; white-space: nowrap; }
.tc-arrival { margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--tc-shadow-sm); font-size: 13px; line-height: 1.45; }
.tc-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px; }
.tc-swatches label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; }
.tc-swatches i { width: 42px; height: 42px; border: 1px solid rgba(17, 17, 17, .12); border-radius: 50%; background: var(--c); transition: transform .15s; }
.tc-swatches .is-none i { background: repeating-linear-gradient(45deg, #fff 0 6px, #ddd 6px 8px); }
.tc-swatches label:has(input:checked) i { transform: scale(1.05); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tc-pink); }
.tc-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-kind { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tc-line); border-radius: 22px; background: #fff; box-shadow: var(--tc-shadow); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tc-kind:has(input:checked) { transform: translateY(-2px); box-shadow: var(--tc-ring), var(--tc-shadow-lg); }
.tc-kind__img { position: relative; display: block; }
.tc-kind__img img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tc-kind__img i { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: 11px; font-style: normal; font-weight: 800; }
.tc-kind__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 12px 14px; }
.tc-kind:has(input:checked) .tc-kind__body { background: var(--tc-yellow); }
.tc-kind b { font-size: 18px; font-weight: 900; }
.tc-kind small { flex: 1; color: #444; font-size: 12.5px; line-height: 1.35; }
.tc-kind em { font-size: 17px; font-style: normal; font-weight: 900; }

/* Paso 4: polera */
.tc-toggle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tc-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tc-sizes label[hidden] { display: none; }
.tc:has(input[name="attribute_estilo"][value="Niño"]:checked) .tc-sizes { grid-template-columns: repeat(4, 1fr); }
.tc-toggle label,
.tc-sizes label { position: relative; display: grid; place-items: center; min-height: 54px; border: 1px solid var(--tc-line); border-radius: 14px; background: #fff; box-shadow: var(--tc-shadow); font-size: 15px; font-weight: 800; line-height: 1.1; text-align: center; cursor: pointer; }
.tc-toggle label:has(input:checked),
.tc-sizes label:has(input:checked) { background: var(--tc-ink); color: #fff; }
.tc-sizes small { display: block; font-size: 9px; font-weight: 700; }
.tc-sizes label.is-off { opacity: .3; pointer-events: none; text-decoration: line-through; }
.tc-sizeguide { margin-top: 14px; padding: 16px; border: 1px solid var(--tc-line-strong); border-radius: 16px; background: #fff; box-shadow: var(--tc-shadow); }
.tc-sizeguide h3 { margin: 0 0 6px; font-size: 15px; font-weight: 900; }
.tc-sizeguide__measure { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 0 0 10px; padding: 10px 12px; border: 1.5px dashed var(--tc-line-strong); border-radius: 12px; background: var(--tc-cream); }
.tc-sizeguide__measure span { font-size: 22px; line-height: 1; }
.tc-sizeguide__measure p { margin: 0; font-size: 12.5px; line-height: 1.45; }
.tc-sizeguide > p { margin: 0 0 10px; color: #555; font-size: 11.5px; line-height: 1.4; }
.tc-sizeguide table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 13px; text-align: center; }
.tc-sizeguide th { padding: 6px 4px; border: 0; border-bottom: 1px solid var(--tc-line-strong); background: none; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tc-sizeguide td { padding: 7px 4px; border: 0; border-bottom: 1px dashed #ccc; font-weight: 600; }
.tc-sizeguide tr:last-child td { border-bottom: 0; }
.tc-sizeguide tr.is-on td { background: var(--tc-yellow); font-weight: 900; }
.tc-sizeguide small { display: block; margin-top: 8px; color: #555; font-size: 11px; }
.tc-warn { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fde8ef; font-size: 12.5px; line-height: 1.45; }
.tc-qty { display: inline-flex; align-items: center; gap: 16px; padding: 6px; border-radius: 99px; background: var(--tc-ink); color: #fff; }
.tc-qty button { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--tc-ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.tc-qty strong { min-width: 20px; font-size: 17px; text-align: center; }

/* Panel lateral "Tu polera" (escritorio) */
.tc-side__card { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--tc-line); border-radius: 20px; background: #fff; box-shadow: var(--tc-shadow); }
.tc-side h3 { margin: 0; font-size: 16px; font-weight: 900; }
.tc-side__pets { display: flex; flex-wrap: wrap; gap: 10px; }
.tc-side__pet { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; font-size: 11.5px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.tc-side__pet span { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--tc-cream); box-shadow: var(--tc-shadow-sm); font-size: 26px; }
.tc-side__pet img { width: 100%; height: 100%; object-fit: cover; }
.tc-side__list { margin: 0; padding: 0; list-style: none; font-size: 12.5px; }
.tc-side__list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #ddd; }
.tc-side__list span { color: #666; }
.tc-side__list b { text-align: right; }
.tc-dot { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(17, 17, 17, .15); vertical-align: -1px; }

/* Barra fija */
.tc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-top: 1px solid var(--tc-line); background: #fff; box-shadow: 0 -8px 24px rgba(17, 17, 17, .08); }
.tc-bar__help { display: block; padding: 8px 16px 0; background: #fff; color: #555; font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; }
.tc-bar__help b { color: #128c4b; font-weight: 800; }
.tc-bar__help:hover b { text-decoration: underline; }
.tc-bar__in { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.tc-back { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--tc-shadow-sm); font-size: 18px; cursor: pointer; }
.tc-back.is-hidden { display: none; }
/* En el primer paso no hay botón Volver: el precio empieza pegado al borde en vez de dejar su hueco vacío. */
.tc-bar__in:has(.tc-back.is-hidden) { grid-template-columns: 1fr auto; }
.tc-price { color: var(--tc-muted); font-size: 12px; font-weight: 700; line-height: 1.25; }
.tc-price b { display: block; color: var(--tc-ink); font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.tc-price__ship { display: block; margin-top: 2px; color: var(--tc-muted); font-size: 11.5px; font-weight: 600; }
.tc-go { min-width: 160px; height: 54px; padding: 0 22px; border: 0; border-radius: 99px; background: var(--tc-ink); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.tc-go.is-waiting { background: #bbb; }
.tc-go:disabled { background: #bbb; cursor: progress; }
.tc-go.is-final { background: var(--tc-pink); color: var(--tc-ink); }
.tc-hint { position: absolute; left: 16px; right: 16px; bottom: calc(100% + 34px); margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: #b42318; color: #fff; font-size: 12.5px; font-weight: 700; text-align: center; }
.tc-hint:empty { display: none; }

/* Avisos de WooCommerce (si algo falla al agregar al carrito) */
.tc-notices:empty { display: none; }
.tc-notices ul,
.tc-notices .woocommerce-error,
.tc-notices .woocommerce-message,
.tc-notices .woocommerce-info { margin: 0 0 18px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fde8ef; box-shadow: var(--tc-shadow-sm); font-size: 13.5px; font-weight: 600; line-height: 1.45; list-style: none; }
.tc-notices li { margin: 0; }
.tc-notices li + li { margin-top: 6px; }
.tc-notices a.button { display: none; }

/* Enviando el formulario */
.tc-sending { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(247, 243, 237, .92); }
.tc-sending > div { display: grid; gap: 6px; justify-items: center; max-width: 320px; padding: 26px 24px; border-radius: 24px; background: #fff; box-shadow: var(--tc-shadow-lg); text-align: center; }
.tc-sending span { font-size: 34px; animation: tc-pulse 1s ease-in-out infinite alternate; }
.tc-sending b { font-size: 17px; font-weight: 900; }
.tc-sending small { color: var(--tc-muted); font-size: 13px; }
@keyframes tc-pulse { to { transform: scale(1.2); } }

@media (prefers-reduced-motion: reduce) {
	.tc-step.is-active,
	.tc-sending span { animation: none; }
}

@media (min-width: 1000px) {
	.tc-wrap { padding-top: 36px; }
	/* Sin el panel lateral "Tu polera": todo el flujo va centrado. */
	.tc-layout.has-side { display: block; }
	.tc-layout.has-side .tc-steps { max-width: 860px; margin: 0 auto; }
	/* Pasos 1 y 2 (sin el panel "Tu polera"): centrados. */
	.tc-layout:not(.has-side) .tc-steps { max-width: 860px; margin: 0 auto; text-align: center; }
	.tc-types,
	.tc-kinds { max-width: 600px; margin: 0 auto; }
	.tc-layout:not(.has-side) .tc-kind { text-align: left; }
	.tc-type__row b { font-size: 22px; }
}
.tc-swatches .is-elijan i { display: grid; place-items: center; }
.tc-swatches .is-elijan i::after { content: "🎲"; font-size: 18px; font-style: normal; }
.tc-notes .tc-card__title small { display: inline; }

/* =========================================================
   Estampa navideña (navidad.php): tarjeta, selector de disfraz y paso "Diseño" sin tiras.
========================================================= */
.tc-kinds:has(.tc-kind--xmas) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-kind--xmas { --xmas-red: #d6222e; --xmas-green: #1e6e3b; }
.tc-kind--xmas .tc-kind__img img { background: #fff; object-fit: cover; }
.tc-kind--xmas .tc-kind__img i { background: var(--xmas-red); color: #fff; }
.tc-kind--xmas:has(input:checked) .tc-kind__body { background: #ffe7e9; }
.tc-kind--xmas em { color: var(--xmas-red); }

/* Celular: las estampas van una debajo de la otra, con la foto a la izquierda. */
@media (max-width: 700px) {
	.tc-kinds,
	.tc-kinds:has(.tc-kind--xmas) { grid-template-columns: 1fr; gap: 12px; }
	.tc-kind { flex-direction: row; }
	.tc-kind__img { flex: 0 0 40%; }
	.tc-kind__img img { height: 100%; aspect-ratio: auto; min-height: 150px; }
	.tc-kind__body { justify-content: center; padding: 14px; }
	.tc-kinds:has(.tc-kind--xmas) .tc-kind b,
	.tc-kind b { font-size: 16px; }
}

@media (min-width: 1000px) {
	.tc-kinds:has(.tc-kind--xmas) { max-width: 760px; }
}

/* Disfraz por mascota: solo con la estampa navideña. */
.tc-costume { display: none; margin: 12px 0 0; }
.tc.is-xmas .tc-costume { display: block; }
.tc.is-xmas .tc-colors,
.tc.is-xmas .tc-field--acc { display: none; }

.tc-costumes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-costumes__opt {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 8px 6px 10px; border: 1px solid var(--tc-line); border-radius: 18px; background: #fff;
	box-shadow: var(--tc-shadow-sm); text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.tc-costumes__opt input { position: absolute; opacity: 0; pointer-events: none; }
.tc-costumes__opt img { display: block; width: 100%; max-width: 96px; aspect-ratio: 1; border-radius: 50%; background: #fff7e3; object-fit: cover; }
.tc-costumes__opt b { font-size: 12px; font-weight: 800; line-height: 1.2; }
.tc-costumes__opt:hover { transform: translateY(-2px); }
.tc-costumes__opt:has(input:checked) { border-color: #1e6e3b; box-shadow: 0 0 0 3px #1e6e3b, 0 10px 20px rgba(30, 110, 59, .22); }
.tc-costumes__opt:has(input:checked)::after {
	content: "✓"; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 22px; height: 22px;
	border-radius: 50%; background: #1e6e3b; color: #fff; font-size: 13px; font-weight: 900; line-height: 1;
}
.tc-costume.is-missing > span { color: #b42318; }
.tc-costume.is-missing .tc-costumes { padding: 8px; border: 2px solid #b42318; border-radius: 16px; background: #fff5f4; }

/* El disfraz es lo primero: tarjetas grandes y, al elegir, el disfraz queda destacado arriba. */
.tc-costumes__opt { padding: 12px 8px 14px; }
.tc-costumes__opt img { max-width: 170px; }
.tc-costumes__opt b { font-size: 14px; }
.tc-costume > span { display: block; margin-bottom: 10px; font-size: 18px; font-weight: 900; }
.tc-costume__ref { margin: 10px 0 0; color: #777; font-size: 12px; font-weight: 700; text-align: right; }

.tc-costume__chosen {
	display: flex; align-items: center; gap: 16px; margin: 0 0 14px; padding: 14px;
	border-radius: 22px; background: #eaf5ee; box-shadow: inset 0 0 0 2px #1e6e3b;
}
.tc-costume__chosen[hidden] { display: none; }
.tc-costume__chosen img { flex: 0 0 auto; display: block; width: 150px; height: 150px; border-radius: 50%; background: #fff7e3; object-fit: cover; box-shadow: 0 8px 18px rgba(30, 110, 59, .25); }
.tc-costume__chosen div { display: grid; gap: 2px; }
.tc-costume__chosen small { color: #1e6e3b; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tc-costume__chosen b { font-size: 24px; font-weight: 900; line-height: 1.1; }
.tc-costume__chosen em { color: #6b6b6b; font-size: 12px; font-style: normal; font-weight: 700; }

@media (max-width: 559px) {
	.tc-costume__chosen img { width: 96px; height: 96px; }
	.tc-costume__chosen b { font-size: 19px; }
}

/* Estampas con título largo y sin descripción: el precio queda siempre abajo. */
.tc-kind__body em { margin-top: auto; }
.tc-kind b { line-height: 1.2; }
.tc-kinds:has(.tc-kind--xmas) .tc-kind b { font-size: 16px; }

/* ---------- Estampas: tarjetas más lindas (título más liviano, precio en etiqueta, check al elegir) ---------- */
.tc-kind { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tc-kind:hover { transform: translateY(-2px); box-shadow: var(--tc-shadow-lg); }
.tc-kind__img::after {
	content: '✓';
	position: absolute;
	top: 10px;
	right: 10px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	opacity: 0;
	transform: scale(.5);
	transition: opacity .18s ease, transform .22s cubic-bezier(.34, 1.56, .64, 1);
}
.tc-kind:has(input:checked) .tc-kind__img::after { opacity: 1; transform: scale(1); }
.tc-kind__body { gap: 8px; padding: 14px 14px 16px; border-top: 1px solid var(--tc-line); }
.tc-kind b { font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.tc-kind__body em {
	align-self: flex-start;
	margin-top: auto;
	padding: 4px 13px;
	border-radius: 99px;
	background: #111;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -.01em;
}
.tc-kind--xmas .tc-kind__body em { background: var(--xmas-red); color: #fff; }
.tc-kind__img i { top: auto; bottom: 10px; }

/* Celular: encabezado más bajo para dejar espacio a lo que se elige. */
@media (max-width: 767px) {
	.tc-top__in { padding: 6px 16px; }
	.tc-top__logo img { width: 60px; }
	.tc-progress { padding-bottom: 6px; }
	.tc-progress button { gap: 3px; }
	.tc-progress button::before { width: 24px; height: 24px; font-size: 11px; }
	.tc-progress li::after { top: 11px; left: calc(50% + 14px); right: calc(-50% + 14px); }
}

/* Paso 2 en celular: tarjetas con descripción, barra inferior más baja y botón que dice qué falta. */
.tc-kind small { flex: 0 0 auto; }
.tc-go.is-waiting { min-width: 190px; }
@media (max-width: 767px) {
	.tc-kind__body { justify-content: flex-start; gap: 6px; }
	.tc-kind small { font-size: 12.5px; }
	.tc-price__ship { font-size: 11px; line-height: 1.2; }
	.tc-wrap { padding-bottom: 150px; }
}

/* Paso 3: ejemplo de cómo se ven las tiras; el color cambia con el que se elige (reglas en creator.php). */
.tc-stripes-ex { --tc-stripe: #bb9efa; display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 10px; border-radius: 16px; background: var(--tc-cream, #f7f4ec); }
.tc-stripes-ex svg { flex: 0 0 auto; width: 88px; height: 117px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--tc-shadow-sm); }
.tc-stripes-ex path { fill: none; stroke: var(--tc-stripe); stroke-width: 12; transition: stroke .25s ease, opacity .25s ease; }
.tc-stripes-ex p { margin: 0; color: #444; font-size: 13px; line-height: 1.4; }
.tc-colors:has(input[value="elijan"]:checked) .tc-stripes-ex path:nth-child(1) { stroke: #f07b9a; }
.tc-colors:has(input[value="elijan"]:checked) .tc-stripes-ex path:nth-child(2) { stroke: #f5d94e; }
.tc-colors:has(input[value="elijan"]:checked) .tc-stripes-ex path:nth-child(3) { stroke: #55b878; }
.tc-colors:has(input[value="elijan"]:checked) .tc-stripes-ex path:nth-child(4) { stroke: #72c7ef; }
.tc-colors:has(input[value="elijan"]:checked) .tc-stripes-ex path:nth-child(5) { stroke: #a86ee6; }
.tc-colors:has(input[value="sin-tiras"]:checked) .tc-stripes-ex path { opacity: 0; }
@media (min-width: 768px) { .tc-stripes-ex svg { width: 110px; height: 147px; } .tc-stripes-ex p { font-size: 14px; } }

/* Accesorios: fichas con dibujo para ver cómo es cada uno. */
.tc-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tc-chips button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; padding: 10px 4px 8px; border: 2px solid var(--tc-line); border-radius: 16px; font-size: 12px; font-weight: 700; text-align: center; }
.tc-chips .tc-acc-ico { display: grid; place-items: center; height: 44px; }
.tc-chips button[aria-pressed="true"] { border-color: var(--tc-ink); background: var(--tc-yellow); color: var(--tc-ink); }
@media (min-width: 768px) { .tc-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Paso Talla: la guía de tallas (size-notice.php) va en modo pestañas también en escritorio. */
@media (min-width: 901px) {
    .tc .turo-size-guide { scroll-margin-top: 92px; padding: 22px 16px; border-radius: 22px; }
    .tc .turo-size-guide__body { grid-template-columns: 1fr; margin-top: 18px; }
    .tc .turo-size-guide__how { grid-template-columns: 104px 1fr; align-items: center; padding: 14px; }
    .tc .turo-size-guide__shirt { max-width: 104px; }

    /* Pestañas */
    .tc .turo-size-guide__fits,
    .tc .turo-size-guide__fits.turo-size-guide__fits--kids { grid-template-columns: 1fr; gap: 10px; }
    .tc .turo-size-guide__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(17, 17, 17, .06); }
    .tc .turo-size-guide__tabs input { position: absolute; opacity: 0; pointer-events: none; }
    .tc .turo-size-guide__tabs label { display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border-radius: 999px; color: #555; font-size: 14px; font-weight: 900; line-height: 1.15; text-align: center; cursor: pointer; }
    .tc .turo-size-guide__tabs label small { font-size: 10.5px; font-weight: 600; }
    .tc .turo-size-guide__tabs input:checked + label { background: #111; color: #fff; }
    .tc .turo-size-guide__tabs input:focus-visible + label { outline: 3px solid var(--turo-violet, #bb9efa); outline-offset: 2px; }
    .tc .turo-size-guide__fit h3 { display: none; }
    .tc .turo-size-guide__fits:has(#turo-size-guide-mujer:checked) .turo-size-guide__fit--unisex,
    .tc .turo-size-guide__fits:has(#turo-size-guide-mujer:checked) .turo-size-guide__fit--nino,
    .tc .turo-size-guide__fits:has(#turo-size-guide-unisex:checked) .turo-size-guide__fit--mujer,
    .tc .turo-size-guide__fits:has(#turo-size-guide-unisex:checked) .turo-size-guide__fit--nino,
    .tc .turo-size-guide__fits:has(#turo-size-guide-nino:checked) .turo-size-guide__fit--mujer,
    .tc .turo-size-guide__fits:has(#turo-size-guide-nino:checked) .turo-size-guide__fit--unisex { display: none; }
    .tc .turo-size-guide__tips { flex-direction: column; }
    .tc .turo-size-guide__tips li { border-radius: 14px; }
}

.tc .turo-size-guide { margin: 18px 0 0; }
.tc .turo-size-guide tbody tr.is-on { background: var(--tc-yellow) !important; }

/* Guía de tallas plegable para no alargar el paso. */
.tc-guide { margin-top: 14px; }
.tc-guide > summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--tc-line-strong); border-radius: 16px; background: #fff; box-shadow: var(--tc-shadow); font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.tc-guide > summary::-webkit-details-marker { display: none; }
.tc-guide > summary small { margin-left: auto; color: var(--tc-muted); font-size: 12px; font-weight: 500; }
.tc-guide > summary::after { content: "＋"; font-weight: 900; }
.tc-guide[open] > summary::after { content: "−"; }

/* Talla de cada polera extra. */
.tc-extras { display: grid; gap: 8px; margin-top: 10px; }
.tc-extras:empty { display: none; }
.tc-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--tc-shadow-sm); font-size: 14px; font-weight: 800; }
.tc-extra select { min-width: 140px; height: 42px; padding: 0 12px; border: 1px solid var(--tc-line-strong); border-radius: 12px; background: #fafafa; font: inherit; font-size: 15px; font-weight: 700; }
.tc-extras__note { margin: 0; color: var(--tc-muted); font-size: 12.5px; }

.tc-extra b { flex: 1 0 100%; font-size: 14px; }
.tc-extra select { flex: 1 1 120px; min-width: 0; }

/* Navidad Turesca: etiqueta del paso en rojo y estampa elegida con fondo verde (las tres). */
body.turo-navidad-theme .tc-eyebrow { background: #d6222e; color: #fff; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__body,
body.turo-navidad-theme .tc-kind--xmas:has(input:checked) .tc-kind__body { background: #cdebd6; }
.tc-kind__plain { font-size: 13px; font-weight: 700; color: #5b5b5b; margin-top: -4px; }

/* Navidad: todo lo elegido va con fondo verde. */
body.turo-navidad-theme .tc { --tc-yellow: #cdebd6; }

/* Disfraz: escenario grande con flechas y tira de círculos para elegir. */
.tc-costume__chosen {
	display: grid; justify-items: center; gap: 12px; margin: 0 0 12px; padding: 18px 12px 16px;
	border-radius: 26px; background: #cdebd6; box-shadow: inset 0 0 0 2px #1e6e3b;
}
.tc-costume__chosen.is-empty { background: #f1f8f3; box-shadow: inset 0 0 0 2px #b9dcc5; }
.tc-costume__stage { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.tc-costume__pic { position: relative; flex: 0 1 auto; width: min(58vw, 250px); aspect-ratio: 1; }
.tc-costume__chosen .tc-costume__pic img {
	display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: cover;
	box-shadow: 0 10px 24px rgba(30, 110, 59, .28);
}
.tc-costume__chosen.is-empty .tc-costume__pic img { display: none; }
.tc-costume__ph {
	display: none; position: absolute; inset: 0; place-items: center; border-radius: 50%; background: #fff;
	border: 3px dashed #7fbf95; font-size: clamp(54px, 18vw, 84px); opacity: .85;
}
.tc-costume__chosen.is-empty .tc-costume__ph { display: grid; }
.tc-costume__nav {
	flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 4px; border: 0; border-radius: 50%;
	background: #fff; color: #1e6e3b; font-size: 30px; font-weight: 900; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 12px rgba(30, 110, 59, .25); transition: transform .15s;
}
.tc-costume__nav:active { transform: scale(.92); }
.tc-costume__txt { display: grid; gap: 2px; text-align: center; }
.tc-costume__chosen .tc-costume__txt b { font-size: 22px; }
.tc-costume__chosen.is-pop .tc-costume__pic { animation: tc-costume-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tc-costume-pop { 0% { transform: scale(.82) rotate(-6deg); } 100% { transform: scale(1) rotate(0); } }

.tc-costumes {
	position: relative; display: flex; gap: 10px; padding: 6px 4px 10px; overflow-x: auto;
	scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tc-costumes::-webkit-scrollbar { display: none; }
.tc-costumes__opt {
	flex: 0 0 auto; width: 84px; padding: 4px 0 6px; border: 0; border-radius: 18px; background: transparent;
	box-shadow: none; scroll-snap-align: center;
}
.tc-costumes__opt img { max-width: 72px; border: 3px solid transparent; transition: transform .15s; }
.tc-costumes__opt b { font-size: 11px; }
.tc-costumes__opt:has(input:checked) { border: 0; background: #cdebd6; box-shadow: none; }
.tc-costumes__opt:has(input:checked) img { border-color: #1e6e3b; transform: scale(1.06); }
.tc-costumes__opt:has(input:checked)::after { top: 0; right: 4px; width: 20px; height: 20px; font-size: 12px; }
@media (min-width: 700px) {
	.tc-costumes { justify-content: center; }
	.tc-costumes__opt { width: 104px; }
	.tc-costumes__opt img { max-width: 88px; }
	.tc-costumes__opt b { font-size: 12px; }
}

/* Navidad: pasos activos y botones de avanzar en verde. */
body.turo-navidad-theme .tc { --tc-pink: #5fb27a; }
body.turo-navidad-theme .tc-go:not(.is-waiting):not(:disabled),
body.turo-navidad-theme .tc-go.is-final:not(.is-waiting):not(:disabled) { background: #1e6e3b; color: #fff; }
body.turo-navidad-theme .tc-progress .is-current button::before { background: #1e6e3b; color: #fff; box-shadow: 0 0 0 4px rgba(30, 110, 59, .2); }
.tc-costume__chosen .tc-costume__stage { display: flex; gap: 8px; }
.tc-costume__chosen .tc-costume__pic { display: block; }
.tc-costume__chosen .tc-costume__txt { display: grid; }

/* Navidad: contorno de lo elegido en verde brillante con halo dorado. */
body.turo-navidad-theme.turo-creator-page {
	--tc-pink: #5fb27a;
	--tc-yellow: #cdebd6;
	--tc-ring: 0 0 0 3px #1fa355, 0 0 0 6px #ffcf3f;
}

/* Paso 1: "¿Cuántos perros?" con botones 1 a 4. */
.tc-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 240px; }
.tc-num {
	height: 48px; padding: 0; border: 1.5px solid var(--tc-ink); border-radius: 14px; background: #fff; color: var(--tc-ink);
	font-size: 20px; font-weight: 900; line-height: 1; cursor: pointer; transition: transform .12s, background .12s;
}
.tc-num:active { transform: scale(.94); }
.tc-num.is-on { border-color: var(--tc-ink); background: var(--tc-pink); }
.tc-num:disabled { opacity: .3; cursor: default; }
.tc-type__hint { min-height: 14px; color: var(--tc-muted); font-size: 11px; font-weight: 700; text-align: center; }
body.turo-navidad-theme .tc-num.is-on { border-color: #1e6e3b; background: #1e6e3b; color: #fff; }

/* Navidad: la estampa elegida va en verde profundo, como la Home (crema y dorado). */
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__body,
body.turo-navidad-theme .tc-kind--xmas:has(input:checked) .tc-kind__body { background: #1e6e3b; border-top-color: #1e6e3b; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__body b { color: #fff7e3; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__body small { color: rgba(255, 247, 227, .88); }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__body em,
body.turo-navidad-theme .tc-kind--xmas:has(input:checked) .tc-kind__body em { background: #f7c948; color: #1b1b1b; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__img::after { background: #f7c948; color: #1b1b1b; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__img i { background: #f7c948; color: #1b1b1b; }

/* Paso 1: el estado ("Elige cuántos" / "✓ 2 perros") va debajo de los números. */
.tc-type__row .tc-type__badge { position: static; padding: 7px 14px; border-radius: 99px; background: #f1ede6; font-size: 13px; }
.tc-type.is-on .tc-type__row .tc-type__badge { background: var(--tc-pink); }
body.turo-navidad-theme .tc-type.is-on .tc-type__row .tc-type__badge { background: #1e6e3b; color: #fff; }

/* Título sobre las opciones de fotos; sin "*Imagen referencial" suelto (ya va en el disfraz elegido). */
.tc-photo__title { margin: 18px 0 10px; font-size: 18px; }
.tc-photo__title b { font-weight: 900; }
.tc-photo__title small { color: var(--tc-muted); font-size: 13px; font-weight: 700; }
.tc-costume__ref { display: none; }
body.turo-navidad-theme .tc-kind:has(input:checked) .tc-kind__plain { color: #f7c948; }
