/*
Theme Name: Tidf Etiqueta
Description: Tidf's own theme: sewn-in white satin labels with folded ends and magenta stitching, on a heather lilac ground.
Version: 1.1.2
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: tidf-etiqueta
*/

@font-face {
	font-family: "Epilogue";
	src: url("assets/fonts/epilogue-latin.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Piazzolla";
	src: url("assets/fonts/piazzolla-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Piazzolla";
	src: url("assets/fonts/piazzolla-italic-latin.woff2") format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}

:root {
	--jaspe: #f4f1f4;        /* heather ground */
	--raso: #ffffff;         /* satin label */
	--tinta: #241a22;        /* aubergine-black text */
	--gris: #6b5a66;         /* muted text */
	--hilo: #b0168a;         /* magenta thread */
	--hilo-hondo: #8a0f6b;
	--puntada: #a89aa4;      /* stitch grey */
	--sombra: #e6dfe5;       /* label shadow */
	--doblez: #f6f2f5;       /* folded end */
	--pliegue: #d6ccd4;      /* crease */
	--tinte: #f8e3f1;
	--titulo: "Epilogue", "Helvetica Neue", Arial, sans-serif;
	--texto: "Piazzolla", Georgia, "Times New Roman", serif;
	--medida: 34.5rem;       /* about 62 characters of Piazzolla at 18px */
	--ancho: 60rem;
	--cosido: repeating-linear-gradient(90deg, var(--hilo) 0 6px, transparent 6px 10px);
	--cosido-v: repeating-linear-gradient(180deg, var(--hilo) 0 5px, transparent 5px 9px);
	--cosido-gris: repeating-linear-gradient(90deg, var(--puntada) 0 5px, transparent 5px 9px);
	--trama: repeating-linear-gradient(180deg, rgba(36, 26, 34, 0.022) 0 1px, transparent 1px 3px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--jaspe);
	color: var(--tinta);
	font-family: var(--texto);
	font-size: 1.125rem;
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--hilo); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--hilo-hondo); text-decoration-thickness: 2px; }

:focus-visible {
	outline: 2px dashed var(--hilo);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--titulo);
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1.15;
	color: var(--tinta);
	text-wrap: balance;
}

.oculto {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.saltar {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 20;
	background: var(--raso);
	padding: 0.5rem 0.9rem;
	font-family: var(--titulo);
	font-weight: 650;
}
.saltar:focus { top: 1rem; }

/* ── The label: white satin, stitched ends, folded ends ───────────────── */

.tira {
	position: relative;
	background:
		var(--cosido-v) left 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--cosido-v) right 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--trama),
		var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
	margin-inline: 14px;
}
.tira::before,
.tira::after {
	content: "";
	position: absolute;
	top: 7px;
	bottom: 7px;
	width: 14px;
	background: var(--doblez);
}
.tira::before {
	left: -14px;
	clip-path: polygon(100% 0, 0 9px, 0 calc(100% - 9px), 100% 100%);
	box-shadow: inset -1px 0 0 var(--pliegue);
}
.tira::after {
	right: -14px;
	clip-path: polygon(0 0, 100% 9px, 100% calc(100% - 9px), 0 100%);
	box-shadow: inset 1px 0 0 var(--pliegue);
}

/* ── Header: the collar label ─────────────────────────────────────────── */

.cuello {
	position: relative;
	text-align: center;
	padding-bottom: 1.4rem;
}
.cuello__costura {
	height: 22px;
	background:
		var(--cosido) left 0 bottom 6px / 100% 1.6px no-repeat,
		#ebe4ea;
	border-bottom: 1px solid var(--pliegue);
	position: relative;
	z-index: 2;
}
.cuello__marca {
	display: inline-block;
	margin-top: -8px;
	position: relative;
	z-index: 1;
	line-height: 0;
	filter: drop-shadow(2px 3px 0 var(--sombra));
}
.cuello__marca img { width: 14rem; }
.cuello__marca:focus-visible { outline-offset: 6px; }
.cuello__lema {
	margin: 0.35rem 0 0;
	font-family: var(--texto);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--gris);
}

.cosido-menu { margin-top: 0.9rem; }
.cosido-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem 2.2rem;
}
.cosido-menu a {
	display: inline-block;
	padding: 0.3rem 0.1rem 0.55rem;
	font-family: var(--titulo);
	font-weight: 650;
	font-size: 0.98rem;
	letter-spacing: 0.02em;
	color: var(--tinta);
	text-decoration: none;
}
.cosido-menu a:hover { color: var(--hilo); }
.cosido-menu .current-menu-item > a,
.cosido-menu .current-menu-ancestor > a,
.cosido-menu .current-post-parent > a,
.cosido-menu .current-category-ancestor > a,
.cosido-menu a[aria-current="page"] {
	color: var(--hilo);
	background: var(--cosido) left 0 bottom 0 / 100% 2px no-repeat;
}

/* ── Layout ──────────────────────────────────────────────────────────── */

.prenda { padding: 1rem 1.1rem 2.5rem; }
.prenda--ancha { max-width: var(--ancho); margin-inline: auto; }
.columna { max-width: var(--medida); margin-inline: auto; }

/* ── Home ────────────────────────────────────────────────────────────── */

.portada__lema {
	max-width: 40rem;
	margin: 2.6rem auto 3.2rem;
	text-align: center;
}
.portada__lema h1 {
	font-size: clamp(2rem, 1.3rem + 3vw, 3.05rem);
	font-weight: 800;
	letter-spacing: 0.015em;
	margin: 0 0 1rem;
}
.portada__lema p {
	margin: 0 auto;
	max-width: 32rem;
	text-wrap: balance;
	font-size: 1.15rem;
	color: var(--tinta);
}

.tiras {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 52rem;
	display: grid;
	gap: 1.6rem;
}

.tira--entrada a.tira__enlace {
	display: grid;
	grid-template-columns: 9.5rem 1fr;
	gap: 1.6rem;
	align-items: center;
	padding: 1.3rem 2.4rem 1.3rem 2.2rem;
	color: inherit;
	text-decoration: none;
}
.tira__dibujo {
	background: var(--raso);
	outline: 1.5px dashed var(--puntada);
	outline-offset: -5px;
	padding: 6px;
	aspect-ratio: 16 / 11;
	display: grid;
	place-items: center;
	overflow: hidden;
}
.tira__dibujo img { width: 100%; height: 100%; object-fit: cover; }
.tira__texto, .tira__nicho, .tira__titulo, .tira__extracto, .tira__fecha { display: block; }
.tira--entrada a.tira__enlace--simple { grid-template-columns: 1fr; }
.tira__nicho {
	margin: 0 0 0.3rem;
	font-family: var(--titulo);
	font-weight: 650;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: var(--gris);
}
.tira__titulo {
	margin: 0 0 0.45rem;
	font-family: var(--titulo);
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1.18;
	font-size: 1.32rem;
	color: var(--hilo);
	text-wrap: balance;
}
.tira--entrada a.tira__enlace:hover .tira__titulo { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.tira__extracto { margin: 0 0 0.6rem; font-size: 1rem; line-height: 1.5; }
.tira__fecha {
	margin: 0;
	font-family: var(--titulo);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--gris);
	letter-spacing: 0.03em;
}

.portada__anuncio { max-width: 52rem; margin: 3rem auto 0; }
.portada__anuncio .etiqueta { margin: 0; }
.portada__texto { margin-top: 3rem; }
.portada__texto > .columna { padding-top: 2.2rem; background: var(--cosido-gris) left 0 top 0 / 100% 1.5px no-repeat; }

/* ── Archive ─────────────────────────────────────────────────────────── */

.rotulo {
	max-width: 40rem;
	margin: 2rem auto 2.8rem;
	padding: 1.6rem 2.6rem 1.7rem;
	text-align: center;
}
.rotulo h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); color: var(--hilo); }
.rotulo p { margin: 0; font-size: 1.02rem; }

.costura-vertical {
	position: relative;
	max-width: 52rem;
	margin-inline: auto;
	padding-left: 2.2rem;
}
.costura-vertical::before {
	content: "";
	position: absolute;
	left: 0.55rem;
	top: -1rem;
	bottom: -1rem;
	width: 2px;
	background: var(--cosido-v);
}
.costura-vertical .tira--entrada::before { background: #efe8ee; }

.paginas { margin-top: 2.5rem; text-align: center; font-family: var(--titulo); font-weight: 650; }
.paginas .page-numbers { display: inline-block; padding: 0.3rem 0.7rem; margin: 0 0.15rem; color: var(--tinta); text-decoration: none; }
.paginas .current { color: var(--hilo); background: var(--cosido) left 0 bottom 0 / 100% 2px no-repeat; }

/* ── Article ─────────────────────────────────────────────────────────── */

.solapa {
	max-width: 46rem;
	margin: 0 auto 2.2rem;
	padding: 2.5rem 2.8rem 1.8rem;
	position: relative;
	background:
		var(--cosido) left 2.8rem top 30px / calc(100% - 5.6rem) 1.6px no-repeat,
		linear-gradient(180deg, var(--doblez) 0 18px, var(--pliegue) 18px 19px, transparent 19px),
		var(--trama),
		var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.solapa__nicho {
	margin: 0.6rem 0 0.8rem;
	font-family: var(--titulo);
	font-weight: 650;
	font-size: 0.86rem;
	letter-spacing: 0.04em;
}
.solapa__nicho a { text-decoration: none; }
.solapa h1 {
	margin: 0 0 0.9rem;
	font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.6rem);
	font-weight: 800;
}
.solapa__extracto { margin: 0 0 1.4rem; font-size: 1.12rem; color: var(--tinta); }
.solapa__ficha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem 1.6rem;
	padding-top: 1rem;
	background: var(--cosido-gris) left 0 top 0 / 100% 1.5px no-repeat;
	font-family: var(--titulo);
	font-size: 0.84rem;
}
.firma { display: flex; align-items: center; gap: 0.7rem; }
.firma__pestana {
	width: 2.6rem;
	height: 2.6rem;
	padding: 3px;
	background: var(--raso);
	outline: 1.5px dashed var(--puntada);
	outline-offset: 2px;
	flex: none;
}
.firma__nombre { font-weight: 700; display: block; }
.firma__papel { color: var(--gris); display: block; font-weight: 500; }
.fechas { margin: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; color: var(--gris); font-weight: 600; }
.fechas dt { display: inline; font-weight: 500; }
.fechas dd { display: inline; margin: 0 0 0 0.3rem; color: var(--tinta); }
.fechas div { white-space: nowrap; }

.lamina {
	max-width: 46rem;
	margin: 0 auto 2.8rem;
	padding: 10px;
	background: var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.lamina img { width: 100%; outline: 1.5px dashed var(--puntada); outline-offset: -6px; }

.cuerpo { max-width: var(--medida); margin-inline: auto; }
.cuerpo > * + * { margin-top: 1.15em; }
.cuerpo p, .cuerpo li { hyphens: manual; text-wrap: pretty; }
.cuerpo h2 {
	margin-top: 2.6em;
	margin-bottom: 0.2em;
	font-size: 1.56rem;
	padding-top: 1rem;
	background: var(--cosido) left 0 top 0 / 3rem 2px no-repeat;
}
.cuerpo h3 { margin-top: 1.9em; margin-bottom: 0; font-size: 1.22rem; }
.cuerpo h2 + *, .cuerpo h3 + * { margin-top: 0.7em; }
.cuerpo strong { font-weight: 700; }
.cuerpo ul { padding-left: 1.3rem; list-style: none; }
.cuerpo ul > li { position: relative; }
.cuerpo ul > li + li { margin-top: 0.55em; }
.cuerpo ul > li::before {
	content: "";
	position: absolute;
	left: -1.25rem;
	top: 0.78em;
	width: 0.75rem;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--hilo) 0 4px, transparent 4px 6px);
}

.cuerpo ol {
	list-style: none;
	counter-reset: paso;
	padding: 0;
}
.cuerpo ol > li {
	counter-increment: paso;
	position: relative;
	padding-left: 3.1rem;
	min-height: 2.2rem;
}
.cuerpo ol > li + li { margin-top: 0.8em; }
.cuerpo ol > li::before {
	content: counter(paso);
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 2.1rem;
	height: 1.65rem;
	display: grid;
	place-items: center;
	font-family: var(--titulo);
	font-weight: 800;
	font-size: 0.85rem;
	color: var(--hilo);
	background: var(--raso);
	box-shadow: 2px 2px 0 var(--sombra);
	outline: 1.2px dashed var(--hilo);
	outline-offset: -4px;
}

.cuerpo aside {
	position: relative;
	margin: 2em 14px;
	padding: 1.15rem 2.1rem 1.2rem;
	font-size: 1.02rem;
	line-height: 1.55;
	background:
		var(--cosido-v) left 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--cosido-v) right 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--trama),
		var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.cuerpo aside::before,
.cuerpo aside::after {
	content: "";
	position: absolute;
	top: 7px;
	bottom: 7px;
	width: 14px;
	background: var(--doblez);
}
.cuerpo aside::before { left: -14px; clip-path: polygon(100% 0, 0 9px, 0 calc(100% - 9px), 100% 100%); box-shadow: inset -1px 0 0 var(--pliegue); }
.cuerpo aside::after { right: -14px; clip-path: polygon(0 0, 100% 9px, 100% calc(100% - 9px), 0 100%); box-shadow: inset 1px 0 0 var(--pliegue); }
.cuerpo aside > :first-child { margin-top: 0; }
.cuerpo aside > :last-child { margin-bottom: 0; }
.cuerpo aside strong:first-child { font-family: var(--titulo); font-weight: 750; font-size: 0.98rem; letter-spacing: 0.01em; color: var(--hilo); }

.cuerpo figure {
	margin: 2.2em -2rem;
	padding: 10px 10px 0;
	background: var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.cuerpo figure img { width: 100%; outline: 1.5px dashed var(--puntada); outline-offset: -6px; }
.cuerpo figcaption {
	padding: 0.75rem 0.6rem 0.9rem;
	font-style: italic;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--gris);
}

.cuerpo table {
	display: block;
	overflow-x: auto;
	width: auto;
	margin: 2em -2rem;
	border-collapse: collapse;
	background: var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
	font-size: 0.95rem;
	line-height: 1.4;
}
.cuerpo thead th {
	font-family: var(--titulo);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	text-align: left;
	color: var(--hilo);
	background: var(--cosido) left 0 bottom 0 / 100% 1.6px no-repeat;
	vertical-align: bottom;
}
.cuerpo th, .cuerpo td { padding: 0.7rem 1rem; vertical-align: top; min-width: 7.5rem; }
.cuerpo tbody td { background: var(--cosido-gris) left 0 bottom 0 / 100% 1px no-repeat; }
.cuerpo tbody tr:last-child td { background: none; }
.cuerpo tbody td:first-child { font-family: var(--titulo); font-weight: 650; font-size: 0.9rem; }
.cuerpo caption {
	caption-side: top;
	text-align: left;
	padding: 0.9rem 1rem 0.2rem;
	font-family: var(--titulo);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--tinta);
}

.cuerpo blockquote {
	margin: 2em 0;
	padding: 0.2rem 0 0.2rem 1.6rem;
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.5;
	background: var(--cosido-v) left 0 top 0 / 2px 100% no-repeat;
}
.cuerpo blockquote p { margin: 0; }

.cuerpo dl { margin: 1.6em 0; }
.cuerpo dt { font-family: var(--titulo); font-weight: 700; font-size: 1rem; color: var(--hilo); }
.cuerpo dd { margin: 0.15rem 0 0.9rem 1.2rem; }

.cuerpo details {
	background: var(--raso);
	box-shadow: 3px 3px 0 var(--sombra);
	padding: 0 1.2rem;
}
.cuerpo details + details { margin-top: 0.7rem; }
.cuerpo summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 0.9rem 2rem 0.9rem 0;
	font-family: var(--titulo);
	font-weight: 700;
	font-size: 1.02rem;
}
.cuerpo summary::-webkit-details-marker { display: none; }
.cuerpo summary::after {
	content: "";
	position: absolute;
	right: 0.2rem;
	top: 50%;
	width: 0.9rem;
	height: 0.9rem;
	margin-top: -0.45rem;
	background:
		linear-gradient(var(--hilo), var(--hilo)) center / 100% 2px no-repeat,
		linear-gradient(var(--hilo), var(--hilo)) center / 2px 100% no-repeat;
}
.cuerpo details[open] summary::after { background: linear-gradient(var(--hilo), var(--hilo)) center / 100% 2px no-repeat; }
.cuerpo details[open] summary { background: var(--cosido-gris) left 0 bottom 0 / 100% 1px no-repeat; }
.cuerpo details > :not(summary) { margin: 0.8rem 0 1rem; }

.cuerpo hr { border: 0; height: 2px; background: var(--cosido-gris); margin: 2.5em 0; }

.cuerpo .fuentes, .cuerpo h2#fuentes + ul { font-size: 0.92rem; line-height: 1.5; }

/* The runtime's ad slot and its label, in this website's look */
.etiqueta {
	margin: 2.6em auto;
	padding: 0.4rem 0 1.1rem;
	text-align: center;
	clear: both;
	background:
		var(--cosido-gris) left 0 top 0 / 100% 1.5px no-repeat,
		var(--cosido-gris) left 0 bottom 0 / 100% 1.5px no-repeat;
}
.etiqueta iframe { display: block; margin: 0 auto; border: 0; background: transparent; }
.ribete {
	display: block;
	margin: 0.35rem 0 0.6rem;
	font-family: var(--titulo);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--gris);
}
.cuerpo .etiqueta { margin-inline: 0; }
.cierre { max-width: 46rem; margin: 3.4rem auto 0; }
body > .etiqueta { max-width: 46rem; margin: 0 auto 3rem; padding-inline: 1.1rem; }
.portada__texto .cuerpo > h2:first-child { margin-top: 0; }

.relacion { max-width: 52rem; margin: 3.4rem auto 0; }
.relacion h2 { text-align: center; font-size: 1.25rem; margin: 0 0 1.6rem; }

/* Pages: about, contact, policies */
.pagina .solapa { max-width: 40rem; }
.pagina .solapa h1 { margin-bottom: 0.4rem; }
.pagina .solapa__extracto { margin-bottom: 0.2rem; }
.pagina__actualizada { font-family: var(--titulo); font-size: 0.82rem; color: var(--gris); margin: 0.8rem 0 0; }

/* The cookies page choice, and the measurement banner */
.remate {
	margin: 2em 14px;
	padding: 1.2rem 2.2rem 1.4rem;
	background:
		var(--cosido-v) left 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--cosido-v) right 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.remate p { margin: 0 0 0.8rem; }
.hilo { font-family: var(--titulo); font-weight: 650; font-size: 0.92rem; color: var(--hilo); min-height: 1.2em; }
.remate button,
.pespunte button {
	font-family: var(--titulo);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	min-width: 8rem;
	padding: 0.6rem 1.2rem;
	margin: 0.3rem 0.5rem 0 0;
	color: var(--hilo);
	background: var(--raso);
	border: 1.5px solid var(--hilo);
	border-radius: 2px;
	cursor: pointer;
}
.remate button:hover,
.pespunte button:hover { background: var(--tinte); }
fieldset.remate { border: 0; min-width: 0; }
fieldset.remate legend { float: left; width: 100%; padding: 0; margin-bottom: 0.8rem; font-family: var(--titulo); font-weight: 750; font-size: 1.2rem; }

.pespunte {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	z-index: 30;
	width: min(44rem, calc(100% - 3rem));
	padding: 1rem 2.2rem 1.1rem;
	font-size: 0.98rem;
	line-height: 1.5;
	background:
		var(--cosido-v) left 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--cosido-v) right 12px top 9px / 1.6px calc(100% - 18px) no-repeat,
		var(--raso);
	box-shadow: 3px 3px 0 var(--sombra), 0 0 0 1px var(--sombra);
}
.pespunte p { margin: 0 0 0.6rem; }

/* Search, 404 */
.buscador { display: flex; gap: 0.6rem; max-width: 30rem; margin: 1.4rem auto 0; }
.buscador input[type="search"] {
	flex: 1;
	min-width: 0;
	font: inherit;
	font-size: 1rem;
	padding: 0.55rem 0.8rem;
	border: 1.5px solid var(--puntada);
	border-radius: 2px;
	background: var(--raso);
	color: var(--tinta);
}
.buscador button {
	font-family: var(--titulo);
	font-weight: 700;
	font-size: 0.92rem;
	padding: 0.55rem 1.1rem;
	color: var(--raso);
	background: var(--hilo);
	border: 1.5px solid var(--hilo);
	border-radius: 2px;
	cursor: pointer;
}
.buscador button:hover { background: var(--hilo-hondo); }
.vacio { text-align: center; max-width: 32rem; margin: 0 auto; }

/* ── Footer: the care label ──────────────────────────────────────────── */

.cuidado {
	max-width: 30rem;
	margin: 1rem auto 2.5rem;
	padding: 2.1rem 2.4rem 1.6rem;
	position: relative;
	font-family: var(--titulo);
	font-size: 0.86rem;
	line-height: 1.55;
	background:
		var(--cosido) left 1.4rem top 12px / calc(100% - 2.8rem) 1.6px no-repeat,
		var(--trama),
		var(--raso);
	filter: drop-shadow(3px 3px 0 var(--sombra));
}
.cuidado__marca { width: 2.2rem; margin: 0 0 0.9rem; }
.cuidado p { margin: 0 0 0.8rem; font-family: var(--texto); font-size: 0.95rem; }
.cuidado ul { list-style: none; margin: 1rem 0 0; padding: 0.9rem 0 0; background: var(--cosido-gris) left 0 top 0 / 100% 1px no-repeat; }
.cuidado li { padding: 0.2rem 0; }
.cuidado li a { color: var(--tinta); text-decoration: none; font-weight: 600; }
.cuidado li a::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-right: 0.7rem;
	border: 1.5px solid var(--hilo);
	vertical-align: 0.05em;
}
.cuidado li a:hover { color: var(--hilo); text-decoration: underline; }
.cuidado__pie { margin: 1.2rem 0 0; color: var(--gris); font-size: 0.78rem; }

/* ── Small screens ───────────────────────────────────────────────────── */

@media (max-width: 40rem) {
	body { font-size: 1.0625rem; }
	.cuello__marca img { width: 11rem; }
	.cosido-menu ul { gap: 0.2rem 1.6rem; }
	.portada__lema { margin: 1.8rem auto 2.4rem; }
	.tira--entrada a.tira__enlace { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem 1.6rem 1.2rem 1.7rem; }
	.tira__dibujo { max-width: 15rem; }
	.solapa { padding: 2.3rem 1.5rem 1.5rem; background-position: left 1.5rem top 30px, 0 0, 0 0, 0 0; background-size: calc(100% - 3rem) 1.6px, auto, auto, auto; }
	.lamina { padding: 6px; }
	.cuerpo figure { margin-inline: 0; }
	.cuerpo table { display: table; width: 100%; margin-inline: 0; font-size: 0.86rem; }
	.cuerpo th, .cuerpo td { min-width: 0; padding: 0.6rem 0.5rem; }
	.cuerpo th:first-child, .cuerpo td:first-child { padding-left: 0.8rem; }
	.cuerpo tbody td:first-child { font-size: 0.82rem; }
	.cuerpo caption { padding-inline: 0.8rem; }
	.cuerpo aside, .remate { padding-inline: 1.7rem; }
	.rotulo { padding-inline: 1.6rem; }
	.costura-vertical { padding-left: 1.4rem; }
	.costura-vertical::before { left: 0.2rem; }
	.cuidado { padding-inline: 1.6rem; margin-inline: 14px; }
	.pespunte { bottom: 0.6rem; width: calc(100% - 1.2rem); padding: 0.9rem 1.6rem 1rem; font-size: 0.92rem; }
	.pespunte button { min-width: 6.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.cuello__costura, .cosido-menu, .etiqueta, .pespunte, .cuidado ul { display: none; }
	body { background: #fff; }
}


@media screen {
	.pespunte {
		left: 0.5rem;
		right: 0.5rem;
		bottom: max(0.5rem, env(safe-area-inset-bottom));
		width: auto;
		max-width: 34rem;
		margin: 0 auto;
		transform: none;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		padding: 0.75rem;
		border: 1px solid var(--pliegue);
		border-radius: 4px;
		background: var(--raso);
		color: var(--gris);
		box-shadow: none;
		font: 400 0.875rem/1.4 var(--titulo);
	}
	.pespunte::before,
	.pespunte::after { display: none; }
	.pespunte p {
		grid-column: 1 / -1;
		margin: 0;
		max-width: none;
		font: inherit;
	}
	.pespunte a {
		color: var(--hilo-hondo);
		font-weight: 400;
		white-space: normal;
		text-decoration: underline;
	}
	.pespunte button {
		min-width: 0;
		min-height: 44px;
		width: 100%;
		margin: 0;
		padding: 0.4rem 0.5rem;
		border: 1px solid var(--pliegue);
		border-radius: 4px;
		background: var(--raso);
		color: var(--gris);
		box-shadow: none;
		font: 500 0.875rem/1.25 var(--titulo);
		font-stretch: normal;
		letter-spacing: normal;
		text-transform: none;
		cursor: pointer;
	}
	.pespunte button:hover { background: var(--doblez); }
	.pespunte :focus-visible { outline: 2px solid var(--hilo-hondo); outline-offset: 2px; }
	body:has(.pespunte) { padding-bottom: 10rem; }
}
@media screen and (max-width: 620px) {
	body:has(.pespunte) { padding-bottom: 12rem; }
}
