/* PÃ¡gina Â«CartaÂ» ([tostao_carta]): banda de tÃ­tulo, aviso de ejemplo, navegaciÃ³n pegajosa, secciones en dos columnas, leyenda de alÃ©rgenos e impresiÃ³n.
   Todo bajo .ts-w .ts-ca (el tema y el kit de Elementor pisan cosas: especificidad alta y colores explÃ­citos). Cortes 960 / 600. */
.ts-w .ts-ca { font-family: var(--ts-fuente); color: var(--ts-granate); line-height: 1.5; background: #fff; }
.ts-w .ts-ca :where(h1, h2, p, ul, li) { margin: 0; padding: 0; }
.ts-w .ts-ca :where(ul) { list-style: none; }
.ts-w .ts-ca a { text-decoration: none; color: inherit; }
.ts-w .ts-ca :focus-visible { outline: 3px solid var(--ts-granate); outline-offset: 3px; border-radius: 8px; }
.ts-w .ts-ca .ts-ca-hero :focus-visible { outline-color: var(--ts-amarillo); }
.ts-w .ts-ca .ts-ca-in { max-width: var(--ts-ancho); margin: 0 auto; padding: 0 40px; }
.ts-w .ts-ca .ts-ca-ic { display: inline-block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* banda de tÃ­tulo */
.ts-w .ts-ca .ts-ca-hero { background: var(--ts-granate); color: var(--ts-crema); padding: 52px 0 56px; }
.ts-w .ts-ca .ts-ca-migas { font-size: 13.5px; margin-bottom: 30px; color: var(--ts-crema); }
.ts-w .ts-ca .ts-ca-migas a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ts-w .ts-ca .ts-ca-hero h1 { font-family: var(--ts-fuente); font-size: 56px; line-height: 1.04; font-weight: 800; letter-spacing: -1.6px; color: var(--ts-amarillo); text-wrap: balance; }
.ts-w .ts-ca .ts-ca-intro { margin-top: 18px; max-width: 52ch; font-size: 19px; color: var(--ts-crema); }
.ts-w .ts-ca .ts-ca-datos { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.ts-w .ts-ca .ts-ca-datos li { border: 1.5px solid var(--ts-amarillo); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--ts-amarillo); }

/* aviso de ejemplo */
.ts-w .ts-ca .ts-ca-ej-caja { margin-top: 28px; }
.ts-w .ts-ca .ts-ca-ejemplo { display: flex; gap: 16px; align-items: flex-start; border: 2px dashed var(--ts-granate); border-radius: 22px; background: var(--ts-crema-claro); padding: 18px 22px; }
.ts-w .ts-ca .ts-ca-sello { flex: none; display: inline-block; background: var(--ts-granate); color: var(--ts-amarillo); font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.ts-w .ts-ca .ts-ca-ejemplo strong { display: block; font-size: 17px; font-weight: 800; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-ejemplo p { margin-top: 4px; font-size: 15px; max-width: 78ch; }
.ts-w .ts-ca .ts-ca-ej-ed a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* navegaciÃ³n de secciones (pegajosa) */
.ts-w .ts-ca .ts-ca-navbar { position: sticky; top: var(--ts-sticky-top, 0px); z-index: 20; margin-top: 28px; background: #fff; border-bottom: 1px solid var(--ts-linea); box-shadow: 0 8px 18px -14px rgba(91, 17, 23, .35); }
body.admin-bar .ts-w .ts-ca .ts-ca-navbar { top: 32px; }
.ts-w .ts-ca .ts-ca-navin { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.ts-w .ts-ca .ts-ca-nav { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ts-w .ts-ca .ts-ca-nav::-webkit-scrollbar { display: none; }
.ts-w .ts-ca .ts-ca-nav ul { display: flex; gap: 8px; width: max-content; padding: 3px; }
.ts-w .ts-ca .ts-ca-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ts-granate); border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--ts-granate); background: #fff; }
.ts-w .ts-ca .ts-ca-nav a:hover { background: var(--ts-crema-claro); }
.ts-w .ts-ca .ts-ca-nav a[aria-current="true"] { background: var(--ts-granate); color: var(--ts-amarillo); }
.ts-w .ts-ca .ts-ca-imprimir { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ts-granate); border-radius: 999px; background: #fff; color: var(--ts-granate); font: 700 14px/1 var(--ts-fuente); cursor: pointer; }
.ts-w .ts-ca .ts-ca-imprimir:hover { background: var(--ts-crema-claro); }
.ts-w .ts-ca .ts-ca-imprimir[hidden] { display: none; }

/* cuerpo */
.ts-w .ts-ca .ts-ca-cuerpo { padding-top: 40px; padding-bottom: 72px; }
.ts-w .ts-ca .ts-ca-vacia { font-size: 18px; padding: 40px 0; }
.ts-w .ts-ca .ts-ca-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; background: var(--ts-crema); border-radius: 22px; padding: 20px 26px; margin-bottom: 44px; }
.ts-w .ts-ca .ts-ca-aviso h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-aviso p { font-size: 16px; font-weight: 600; }
.ts-w .ts-ca .ts-ca-aviso p:last-child { margin-left: auto; }
.ts-w .ts-ca .ts-ca-aviso a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* secciones */
.ts-w .ts-ca .ts-ca-sec { margin-bottom: 56px; scroll-margin-top: 92px; }
/* con la barra de administraciÃ³n, WordPress ya aÃ±ade su altura al desplazarse a un ancla (scroll-padding-top del html) */
.ts-w .ts-ca .ts-ca-sec-cab h2, .ts-w .ts-ca .ts-ca-leyenda h2 { position: relative; padding-bottom: 14px; font-family: var(--ts-fuente); font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.8px; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-sec-cab h2::after, .ts-w .ts-ca .ts-ca-leyenda h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 5px; border-radius: 3px; background: var(--ts-amarillo); }
.ts-w .ts-ca .ts-ca-sec-nota { margin-top: 10px; font-size: 16px; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 18px; }

/* artÃ­culo */
.ts-w .ts-ca .ts-ca-art { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ts-linea); break-inside: avoid; }
.ts-w .ts-ca .ts-ca-foto { flex: none; width: 88px; height: 88px; border-radius: 18px; overflow: hidden; background: #ECE6DA; }
.ts-w .ts-ca .ts-ca-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts-w .ts-ca .ts-ca-foto-pend { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 100%; padding: 6px; background: #ECE6DA; color: #5C4448; font-size: 10px; font-weight: 700; line-height: 1.15; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.ts-w .ts-ca .ts-ca-ic-taza { width: 30px; height: 30px; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-txt { flex: 1; min-width: 0; }
.ts-w .ts-ca .ts-ca-cab { display: flex; align-items: baseline; gap: 10px; }
.ts-w .ts-ca .ts-ca-nom { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-pts { flex: 1 1 16px; min-width: 16px; height: 0; border-bottom: 2px dotted #CDBE92; transform: translateY(-4px); }
.ts-w .ts-ca .ts-ca-precio { flex: none; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-precio small { font-size: 12.5px; font-weight: 700; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-precio-pend { color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-desc { margin-top: 3px; font-size: 15px; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-precios { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 15px; }
.ts-w .ts-ca .ts-ca-precios li { font-variant-numeric: tabular-nums; }
.ts-w .ts-ca .ts-ca-pe { font-size: 13px; font-weight: 600; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-marcas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ts-w .ts-ca .ts-ca-marca { display: inline-block; padding: 5px 9px; border: 1.5px solid var(--ts-granate); border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-marca-nov { background: var(--ts-granate); color: var(--ts-amarillo); }
.ts-w .ts-ca .ts-ca-marca-ago { border-style: dashed; }
.ts-w .ts-ca .ts-ca-marca-ej { border-style: dashed; background: var(--ts-crema); }
.ts-w .ts-ca .ts-ca-art-ago .ts-ca-nom, .ts-w .ts-ca .ts-ca-art-ago .ts-ca-precio { color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-al { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 9px; font-size: 13px; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-al-t { font-weight: 600; }
.ts-w .ts-ca .ts-ca-al-i { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-al .ts-ca-ic { width: 16px; height: 16px; }
.ts-w .ts-ca .ts-ca-al-ok { font-weight: 600; color: var(--ts-granate); }

/* leyenda de alÃ©rgenos */
.ts-w .ts-ca .ts-ca-leyenda { margin-top: 24px; padding: 36px 40px 40px; border-radius: 26px; background: var(--ts-crema-claro); scroll-margin-top: 92px; }
.ts-w .ts-ca .ts-ca-ley-intro { margin-top: 14px; max-width: 70ch; font-size: 16px; }
.ts-w .ts-ca .ts-ca-ley { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px 28px; margin-top: 24px; }
.ts-w .ts-ca .ts-ca-ley li { display: flex; align-items: flex-start; gap: 12px; }
.ts-w .ts-ca .ts-ca-ley-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--ts-linea); border-radius: 14px; background: #fff; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-ley-ic .ts-ca-ic { width: 26px; height: 26px; }
.ts-w .ts-ca .ts-ca-ley b { display: block; font-size: 15px; font-weight: 800; }
.ts-w .ts-ca .ts-ca-ley-largo { display: block; font-size: 13px; color: var(--ts-suave); }

/* pie de la carta */
.ts-w .ts-ca .ts-ca-pie { display: grid; gap: 8px; margin-top: 36px; font-size: 14px; color: var(--ts-suave); }
.ts-w .ts-ca .ts-ca-contacto { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--ts-linea); font-size: 15px; color: var(--ts-granate); }
.ts-w .ts-ca .ts-ca-contacto-l { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.ts-w .ts-ca .ts-ca-contacto a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
	.ts-w .ts-ca .ts-ca-in { padding: 0 32px; }
	.ts-w .ts-ca .ts-ca-hero { padding: 40px 0 44px; }
	.ts-w .ts-ca .ts-ca-hero h1 { font-size: 44px; letter-spacing: -1.2px; }
	.ts-w .ts-ca .ts-ca-lista { column-gap: 40px; }
	.ts-w .ts-ca .ts-ca-sec-cab h2, .ts-w .ts-ca .ts-ca-leyenda h2 { font-size: 30px; }
	.ts-w .ts-ca .ts-ca-leyenda { padding: 30px 28px 34px; }
}
@media (max-width: 782px) {
	body.admin-bar .ts-w .ts-ca .ts-ca-navbar { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .ts-w .ts-ca .ts-ca-navbar { top: 0; } /* con la barra de administraciÃ³n en mÃ³vil (â‰¤600 px) la barra no es fija */
	.ts-w .ts-ca .ts-ca-in { padding: 0 20px; }
	.ts-w .ts-ca .ts-ca-hero { padding: 30px 0 36px; }
	.ts-w .ts-ca .ts-ca-migas { margin-bottom: 22px; }
	.ts-w .ts-ca .ts-ca-hero h1 { font-size: 38px; letter-spacing: -1px; }
	.ts-w .ts-ca .ts-ca-intro { font-size: 17px; }
	.ts-w .ts-ca .ts-ca-ejemplo { flex-direction: column; gap: 10px; padding: 16px 18px; }
	.ts-w .ts-ca .ts-ca-ej-caja { margin-top: 20px; }
	.ts-w .ts-ca .ts-ca-navbar { margin-top: 20px; }
	.ts-w .ts-ca .ts-ca-navin { gap: 8px; }
	.ts-w .ts-ca .ts-ca-imprimir { padding: 0; width: 44px; justify-content: center; font-size: 0; gap: 0; }
	.ts-w .ts-ca .ts-ca-imprimir .ts-ca-ic { width: 20px; height: 20px; }
	.ts-w .ts-ca .ts-ca-cuerpo { padding-top: 28px; padding-bottom: 48px; }
	.ts-w .ts-ca .ts-ca-aviso { padding: 18px 20px; margin-bottom: 32px; }
	.ts-w .ts-ca .ts-ca-aviso p:last-child { margin-left: 0; }
	.ts-w .ts-ca .ts-ca-sec { margin-bottom: 40px; }
	.ts-w .ts-ca .ts-ca-sec-cab h2, .ts-w .ts-ca .ts-ca-leyenda h2 { font-size: 26px; }
	.ts-w .ts-ca .ts-ca-lista { grid-template-columns: minmax(0, 1fr); }
	.ts-w .ts-ca .ts-ca-foto { width: 76px; height: 76px; border-radius: 16px; }
	.ts-w .ts-ca .ts-ca-ic-taza { width: 26px; height: 26px; }
	.ts-w .ts-ca .ts-ca-leyenda { padding: 26px 20px 28px; border-radius: 22px; }
	.ts-w .ts-ca .ts-ca-ley { grid-template-columns: minmax(0, 1fr); }
}

/* impresiÃ³n: una columna, negro sobre blanco, sin cabecera, pie ni navegaciÃ³n */
@media print {
	@page { size: A4; margin: 14mm; }
	.elementor-location-header, .elementor-location-footer, #wpadminbar, .ts-w .ts-barra, .ts-w .ts-cab, .ts-w .ts-pie, .ts-w .ts-velo, .ts-w .ts-cajon, .ts-w .ts-buscador, [class*="cookieadmin"] { display: none !important; }
	body { background: #fff !important; }
	.ts-w .ts-ca { color: #000; background: #fff; font-size: 11pt; }
	.ts-w .ts-ca .ts-ca-in { max-width: none; padding: 0; }
	.ts-w .ts-ca .ts-ca-navbar, .ts-w .ts-ca .ts-ca-migas, .ts-w .ts-ca .ts-ca-imprimir, .ts-w .ts-ca .ts-ca-foto, .ts-w .ts-ca .ts-ca-ej-ed, .ts-w .ts-ca .ts-ca-aviso p:last-child, .ts-w .ts-ca .ts-ca-pts { display: none !important; }
	.ts-w .ts-ca .ts-ca-hero { background: #fff; color: #000; padding: 0 0 6mm; border-bottom: 2px solid #000; }
	.ts-w .ts-ca .ts-ca-hero h1 { color: #000; font-size: 28pt; letter-spacing: 0; }
	.ts-w .ts-ca .ts-ca-intro, .ts-w .ts-ca .ts-ca-sec-nota, .ts-w .ts-ca .ts-ca-desc, .ts-w .ts-ca .ts-ca-al, .ts-w .ts-ca .ts-ca-pe, .ts-w .ts-ca .ts-ca-precio small, .ts-w .ts-ca .ts-ca-ley-largo, .ts-w .ts-ca .ts-ca-pie { color: #000; }
	.ts-w .ts-ca .ts-ca-datos li { border-color: #000; color: #000; }
	.ts-w .ts-ca .ts-ca-ejemplo { margin-top: 4mm; border-color: #000; background: #fff; }
	.ts-w .ts-ca .ts-ca-sello { background: #fff; color: #000; border: 1.5px solid #000; }
	.ts-w .ts-ca .ts-ca-cuerpo { padding: 6mm 0 0; }
	.ts-w .ts-ca .ts-ca-aviso, .ts-w .ts-ca .ts-ca-leyenda { background: #fff; border: 1.5px solid #000; border-radius: 6px; padding: 4mm; margin-bottom: 6mm; }
	.ts-w .ts-ca .ts-ca-sec { margin-bottom: 8mm; }
	.ts-w .ts-ca .ts-ca-sec-cab { break-after: avoid; }
	.ts-w .ts-ca .ts-ca-sec-cab h2, .ts-w .ts-ca .ts-ca-leyenda h2 { color: #000; font-size: 18pt; letter-spacing: 0; padding-bottom: 2mm; }
	.ts-w .ts-ca .ts-ca-sec-cab h2::after, .ts-w .ts-ca .ts-ca-leyenda h2::after { background: #000; height: 2px; }
	.ts-w .ts-ca .ts-ca-lista { display: block; }
	.ts-w .ts-ca .ts-ca-art { break-inside: avoid; padding: 2.5mm 0; border-bottom: 1px solid #999; }
	.ts-w .ts-ca .ts-ca-nom, .ts-w .ts-ca .ts-ca-precio, .ts-w .ts-ca .ts-ca-al-i, .ts-w .ts-ca .ts-ca-al-ok { color: #000; }
	.ts-w .ts-ca .ts-ca-cab { justify-content: space-between; }
	.ts-w .ts-ca .ts-ca-marca { border-color: #000; background: none; color: #000; }
	.ts-w .ts-ca .ts-ca-ley { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3mm 8mm; }
	.ts-w .ts-ca .ts-ca-ley li { break-inside: avoid; }
	.ts-w .ts-ca .ts-ca-ley-ic { border-color: #000; color: #000; }
	.ts-w .ts-ca .ts-ca-contacto { border-top-color: #000; color: #000; }
	.ts-w .ts-ca a { color: #000; text-decoration: none; }
	.ts-w .ts-ca a[href]::after { content: none !important; } /* el tema aÃ±ade la direcciÃ³n del enlace al imprimir */
}

/* sin desplazamiento suave a las anclas si la persona lo ha desactivado en su sistema */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto !important; }
}
