/* Tostao · Sitio — ficha de formación (producto de WooCommerce). Diseño aprobado el 21-nov-2026. */

.ts-w .ts-ficha-pag { color: var(--ts-granate); font-family: var(--ts-fuente); background: #fff; }
.ts-w .ts-ficha-pag :focus-visible { outline: 3px solid var(--ts-granate); outline-offset: 2px; }
.ts-w .ts-ficha-pag a { text-decoration: none; }
.ts-w .ts-ficha-pag .ts-pill { display: inline-block; background: var(--ts-amarillo); color: var(--ts-granate); font: 700 14px/1.2 var(--ts-fuente); padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; text-align: center; transition: background .15s, color .15s; }
.ts-w .ts-ficha-pag .ts-pill:hover { background: var(--ts-granate); color: var(--ts-amarillo); }
.ts-w .ts-ficha-pag .ts-btn-sec { display: inline-block; border: 1.5px solid var(--ts-granate); border-radius: 999px; padding: 8px 16px; font: 800 12.5px var(--ts-fuente); background: #fff; color: var(--ts-granate); white-space: nowrap; transition: background .15s, color .15s; }
.ts-w .ts-ficha-pag .ts-btn-sec:hover { background: var(--ts-granate); color: var(--ts-amarillo); }

/* cabecera con foto */
.ts-w .ts-fhero { position: relative; min-height: 440px; padding: 58px var(--ts-lado) 130px; color: #fff; background: var(--ts-granate); display: flex; align-items: flex-start; overflow: hidden; }
.ts-w .ts-fh-foto { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ts-w .ts-fh-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ts-granate) 6%, rgba(91, 17, 23, .84) 42%, rgba(91, 17, 23, .28)); }
.ts-w .ts-fh-in { position: relative; z-index: 1; max-width: 580px; display: flex; flex-direction: column; gap: 16px; }
.ts-w .ts-fmigas { font-size: 12.5px; opacity: .85; }
.ts-w .ts-fmigas a { color: #fff; }
.ts-w .ts-fhero h1 { margin: 0; font: 700 46px/1.04 var(--ts-fuente); letter-spacing: -1px; color: #fff; }
.ts-w .ts-fhero h1 em { font-style: normal; color: var(--ts-amarillo); }
.ts-w .ts-fhero p { margin: 0; line-height: 1.6; opacity: .92; font-size: 15.5px; max-width: 470px; color: #fff; }
.ts-w .ts-fh-botones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.ts-w .ts-fhero .ts-pill.ts-sec { background: transparent; color: var(--ts-amarillo); box-shadow: inset 0 0 0 1.5px var(--ts-amarillo); }
.ts-w .ts-fhero .ts-pill.ts-sec:hover { background: rgba(255, 255, 255, .14); color: var(--ts-amarillo); }
.ts-w .ts-sello { position: absolute; right: 64px; bottom: 92px; z-index: 3; width: 136px; height: 136px; border-radius: 50%; background: var(--ts-amarillo); color: var(--ts-granate); display: grid; place-content: center; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .32); outline: 2px dashed var(--ts-granate); outline-offset: -9px; }
.ts-w .ts-sello b { font-size: 44px; line-height: 1; font-weight: 800; display: block; }
.ts-w .ts-sello span { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; display: block; }
.ts-w .ts-sello small { font-size: 9.5px; font-weight: 700; opacity: .85; margin-top: 3px; display: block; }

/* cuatro datos destacados */
.ts-w .ts-destacadas { position: relative; z-index: 4; margin: -74px var(--ts-lado) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ts-w .ts-destacadas.ts-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts-w .ts-destacadas.ts-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-w .ts-dest { border-radius: 18px; padding: 22px 20px 24px; background: linear-gradient(155deg, #7B2530 0%, var(--ts-granate) 72%); color: #fff; box-shadow: 0 16px 34px rgba(43, 13, 17, .34); display: flex; flex-direction: column; gap: 6px; }
.ts-w .ts-dest svg { width: 34px; height: 34px; stroke: var(--ts-amarillo); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ts-w .ts-dest h4 { margin: 8px 0 0; font-size: 16px; font-weight: 800; color: #fff; }
.ts-w .ts-dest p { margin: 0; font-size: 13.5px; line-height: 1.45; font-weight: 500; opacity: .93; color: #fff; }

/* dos columnas: texto + reserva */
.ts-w .ts-ficha-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 8px var(--ts-lado) 54px; }
.ts-w .ts-ficha-texto > :first-child { margin-top: 26px; }
.ts-w .ts-tf-sec + .ts-tf-sec, .ts-w .ts-ficha-texto .ts-donde { margin-top: 46px; }
.ts-w .ts-tf-sec h2, .ts-w .ts-ficha-texto .ts-donde h2 { margin: 20px 0 14px; font: 700 26px/1.15 var(--ts-fuente); letter-spacing: -.5px; color: var(--ts-granate); }
.ts-w .ts-ficha-texto b { font-weight: 700; color: var(--ts-granate); }
.ts-w .ts-ficha-texto mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--ts-amarillo) 62%, #fff) 55%); color: inherit; font-weight: 700; padding: 0 2px; }
.ts-w .ts-entradilla { font-size: 18px; line-height: 1.68; font-weight: 500; margin: 0 0 24px; max-width: 64ch; color: #3a1318; }
.ts-w .ts-recorrido { list-style: none; margin: 0; padding: 0; }
.ts-w .ts-recorrido li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding: 20px 0; border-top: 1px solid var(--ts-linea); }
.ts-w .ts-recorrido li:last-child { border-bottom: 1px solid var(--ts-linea); }
.ts-w .ts-recorrido .ts-n { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; color: var(--ts-granate); }
.ts-w .ts-recorrido h3 { margin: 2px 0 6px; font-size: 18.5px; line-height: 1.25; letter-spacing: -.25px; color: var(--ts-granate); }
.ts-w .ts-recorrido p { margin: 0; font-size: 15.5px; line-height: 1.7; max-width: 60ch; color: #3a1318; }
.ts-w .ts-cierre { margin: 18px 0 0; font-size: 15px; color: #3a1318; }
.ts-w .ts-vinetas { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 9px; }
.ts-w .ts-vinetas li { position: relative; padding-left: 26px; line-height: 1.6; color: #3a1318; }
.ts-w .ts-vinetas li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ts-granate); font-weight: 800; }
.ts-w .ts-datos-f { margin: 18px 0 0; }
.ts-w .ts-datos-f div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--ts-linea); align-items: baseline; }
.ts-w .ts-datos-f div:last-child { border-bottom: 1px solid var(--ts-linea); }
.ts-w .ts-datos-f dt { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ts-granate); }
.ts-w .ts-datos-f dd { margin: 0; line-height: 1.6; color: #3a1318; }
.ts-w .ts-tf-sec > p { line-height: 1.65; margin: 0 0 10px; color: #3a1318; }
.ts-w .ts-faq details { border-top: 1px solid var(--ts-linea); padding: 4px 0; }
.ts-w .ts-faq details:last-child { border-bottom: 1px solid var(--ts-linea); }
.ts-w .ts-faq summary { font-weight: 700; font-size: 16px; cursor: pointer; padding: 14px 36px 14px 0; list-style: none; position: relative; color: var(--ts-granate); min-height: 48px; }
.ts-w .ts-faq summary::-webkit-details-marker { display: none; }
.ts-w .ts-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; }
.ts-w .ts-faq details[open] summary::after { content: "−"; }
.ts-w .ts-faq details p { margin: 0 0 14px; line-height: 1.65; color: #3a1318; font-size: 15px; }

/* panel de reserva */
.ts-w .ts-reserva { position: sticky; top: calc(var(--ts-sticky-top, 0px) + 16px); background: #fff; border: 1px solid var(--ts-linea); border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px rgba(94, 33, 41, .08); margin-top: 26px; }
.ts-w .ts-reserva h3 { margin: 0 0 4px; font-size: 20px; color: var(--ts-granate); }
.ts-w .ts-precio-r { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.ts-w .ts-precio-r b { font-size: 28px; font-weight: 800; }
.ts-w .ts-precio-r span { font-size: 12.5px; color: var(--ts-suave); }
.ts-w .ts-fechas { border: 0; padding: 0; margin: 0; }
.ts-w .ts-fechas legend, .ts-w .ts-etiq-r { font-size: 12.5px; font-weight: 700; margin: 12px 0 8px; display: block; padding: 0; }
.ts-w .ts-fecha-op { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; border: 1.5px solid var(--ts-linea); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; background: #fff; position: relative; }
.ts-w .ts-fecha-op input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ts-w .ts-fecha-op::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ts-granate); display: block; }
.ts-w .ts-fecha-op:has(input:checked) { border-color: var(--ts-granate); box-shadow: inset 0 0 0 1px var(--ts-granate); }
.ts-w .ts-fecha-op:has(input:checked)::before { background: radial-gradient(circle, var(--ts-granate) 0 45%, transparent 50%); }
.ts-w .ts-fecha-op:has(input:focus-visible) { outline: 3px solid var(--ts-granate); outline-offset: 2px; }
.ts-w .ts-fecha-op.ts-off { opacity: .6; cursor: not-allowed; }
.ts-w .ts-fecha-txt b { display: block; font-size: 14.5px; }
.ts-w .ts-fecha-txt small { color: var(--ts-suave); font-size: 12.5px; }
.ts-w .ts-reserva .ts-etq { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ts-w .ts-reserva .ts-etq.ts-conf { background: var(--ts-granate); color: var(--ts-amarillo); }
.ts-w .ts-reserva .ts-etq.ts-escasez { background: var(--ts-amarillo); color: var(--ts-granate); }
.ts-w .ts-reserva .ts-etq.ts-lleno { box-shadow: inset 0 0 0 1.5px var(--ts-linea); color: var(--ts-suave); }
.ts-w .ts-cant { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ts-w .ts-cant button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ts-granate); background: #fff; font-size: 20px; line-height: 1; font-weight: 700; color: var(--ts-granate); padding: 0; cursor: pointer; }
.ts-w .ts-cant button:hover { background: var(--ts-granate); color: var(--ts-amarillo); }
.ts-w .ts-cant output { min-width: 24px; text-align: center; font-weight: 800; font-size: 18px; }
.ts-w .ts-reserva .ts-reservar { width: 100%; }
.ts-w .ts-nota-r { font-size: 12.5px; color: var(--ts-suave); line-height: 1.5; margin: 12px 0 0; }

/* otras formaciones */
.ts-w .ts-otras { padding: 0 var(--ts-lado) 8px; }
.ts-w .ts-otras h2 { margin: 54px 0 6px; text-align: center; font: 700 34px/1.1 var(--ts-fuente); letter-spacing: -.6px; color: var(--ts-granate); }
.ts-w .ts-otras-s { text-align: center; color: var(--ts-suave); margin: 0 0 22px; font-size: 14.5px; }
.ts-w .ts-rej3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ts-w .ts-card-f { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ts-linea); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(63, 21, 14, .07); color: var(--ts-granate); }
.ts-w .ts-card-foto { display: block; height: 210px; background: var(--ts-gris) center / cover no-repeat; position: relative; }
.ts-w .ts-card-tag { position: absolute; left: 12px; top: 12px; background: var(--ts-crema); color: var(--ts-granate); font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ts-w .ts-card-cuerpo { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.ts-w .ts-card-cuerpo > b { font-size: 18px; line-height: 1.2; font-weight: 700; }
.ts-w .ts-card-cuerpo > small { font-size: 13px; color: var(--ts-suave); line-height: 1.45; }
.ts-w .ts-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.ts-w .ts-card-meta i { font-style: normal; font-size: 12px; font-weight: 700; border: 1px solid var(--ts-linea); background: var(--ts-crema-claro); border-radius: 999px; padding: 4px 10px; }
.ts-w .ts-card-pie { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.ts-w .ts-card-pie em { font-style: normal; font-size: 20px; font-weight: 800; white-space: nowrap; }

/* onda y banda final */
.ts-w .ts-onda-wrap { margin-top: 50px; background: #fff; }
.ts-w .ts-onda { display: block; width: 100%; height: 70px; fill: var(--ts-granate); }
.ts-w .ts-banda-reserva { background: var(--ts-granate); color: var(--ts-crema); padding: 10px var(--ts-lado) 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: -1px; }
.ts-w .ts-banda-reserva h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.7px; color: #fff; }
.ts-w .ts-banda-reserva h2 em { font-style: normal; color: var(--ts-amarillo); }
.ts-w .ts-banda-reserva p { margin: 0; opacity: .9; color: var(--ts-crema); }
.ts-w .ts-banda-reserva .ts-pill { box-shadow: none; }
.ts-w .ts-barra-reserva-m { display: none; }

/* tableta */
@media (max-width: 960px) {
	.ts-w .ts-fhero { min-height: 0; padding: 34px 24px 118px; }
	.ts-w .ts-fhero h1 { font-size: 36px; }
	.ts-w .ts-fh-in { max-width: none; padding-right: 112px; }
	.ts-w .ts-sello { right: 22px; top: 22px; bottom: auto; width: 98px; height: 98px; outline-offset: -7px; }
	.ts-w .ts-sello b { font-size: 32px; } .ts-w .ts-sello span { font-size: 10px; } .ts-w .ts-sello small { display: none; }
	.ts-w .ts-destacadas, .ts-w .ts-destacadas.ts-n3 { margin: -74px 24px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ts-w .ts-dest { padding: 16px 15px 18px; } .ts-w .ts-dest h4 { font-size: 15px; } .ts-w .ts-dest p { font-size: 13px; }
	.ts-w .ts-ficha-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 8px 24px 54px; }
	.ts-w .ts-reserva { position: static; margin-top: 6px; }
	.ts-w .ts-entradilla { font-size: 17px; }
	.ts-w .ts-otras { padding: 0 24px 8px; }
	.ts-w .ts-rej3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ts-w .ts-banda-reserva { padding: 6px 24px 44px; } .ts-w .ts-banda-reserva h2 { font-size: 27px; }
	.ts-w .ts-barra-reserva-m { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; transition: transform .22s ease; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 18px; background: #fff; border-top: 1px solid var(--ts-linea); box-shadow: 0 -8px 22px rgba(43, 13, 17, .14); }
	.ts-w .ts-barra-reserva-m.ts-oculta { transform: translateY(115%); box-shadow: none; }
	.ts-w .ts-barra-reserva-m b { font-size: 20px; } .ts-w .ts-barra-reserva-m small { display: block; font-size: 11.5px; color: var(--ts-suave); font-weight: 500; }
}
/* móvil */
@media (max-width: 600px) {
	.ts-w .ts-fhero { padding: 26px 18px 108px; }
	.ts-w .ts-fhero h1 { font-size: 29px; letter-spacing: -.6px; } .ts-w .ts-fhero p { font-size: 14.5px; }
	.ts-w .ts-fh-in { padding-right: 0; }
	.ts-w .ts-sello { display: none; }
	.ts-w .ts-destacadas, .ts-w .ts-destacadas.ts-n3, .ts-w .ts-destacadas.ts-n2 { margin: -64px 14px 0; grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.ts-w .ts-dest { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
	.ts-w .ts-dest svg { grid-row: 1 / 3; } .ts-w .ts-dest h4 { margin: 0; }
	.ts-w .ts-ficha-cols { padding: 6px 18px 40px; }
	.ts-w .ts-tf-sec h2 { font-size: 23px; } .ts-w .ts-entradilla { font-size: 16.5px; }
	.ts-w .ts-recorrido li { grid-template-columns: 38px minmax(0, 1fr); gap: 0 12px; } .ts-w .ts-recorrido .ts-n { font-size: 28px; }
	.ts-w .ts-datos-f div { grid-template-columns: 1fr; gap: 2px; }
	.ts-w .ts-otras { padding: 0 16px 8px; } .ts-w .ts-rej3 { grid-template-columns: minmax(0, 1fr); }
	.ts-w .ts-banda-reserva { padding: 6px 18px 40px; }
}
@media (prefers-reduced-motion: reduce) { .ts-w .ts-ficha-pag * { transition: none !important; } }

/* acceso rápido a la tarjeta regalo bajo la reserva */
.ts-w .ts-reserva .ts-regalar { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 10px; border-top: 1px solid var(--ts-linea); padding-top: 12px; font: 800 13.5px/1.2 var(--ts-fuente); color: var(--ts-granate); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ts-w .ts-reserva .ts-regalar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ts-w .ts-reserva .ts-regalar:hover { color: var(--ts-granate-osc); }
@media (prefers-reduced-motion: reduce) { .ts-w .ts-barra-reserva-m { transition: none; } }
