/* Pataliebres · Testimonios
   Hereda tipografía y colores del tema. Ajusta solo estas variables si hace falta. */
.ptl, .ptl-trust {
	--ptl-acento: #23969a;
	--ptl-linea: rgba(0, 0, 0, .12);
	--ptl-suave: .65;                 /* opacidad de textos secundarios */
	font-family: Raleway, sans-serif; font-weight: 500;
}

/* ---------- Bloque de testimonios ---------- */
.ptl { margin-block: clamp(3rem, 7vw, 6rem); }

.ptl__head {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.5rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: 1rem; border-bottom: 1px solid var(--ptl-linea);
}
.ptl__head h2 { margin: 0; }
.ptl__head p { margin: 0; font-size: 14px; line-height: 30px; }
.ptl__head p { color: rgba(0,0,0,.6); }
.ptl__head a { color: var(--ptl-acento); text-underline-offset: .2em; }

.ptl__nav { margin-left: auto; display: flex; gap: .4rem; }
.ptl__nav[hidden] { display: none; }
.ptl__nav button {
	all: unset; cursor: pointer; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
	border: 1px solid var(--ptl-linea); border-radius: 50%; font-size: 1.1rem; line-height: 1;
	transition: border-color .2s, transform .2s, opacity .2s;
}
.ptl__nav button:hover:not(:disabled) { border-color: var(--ptl-acento); background: var(--ptl-acento); color: #fff; }
.ptl__nav button:disabled { opacity: .3; cursor: default; }
.ptl__nav button:focus-visible { outline: 2px solid; outline-offset: 2px; }

.ptl__list {
	list-style: none; margin: 0; padding: 0 0 1.25rem;
	display: grid; grid-auto-flow: column;
	grid-auto-columns: min(82%, 23rem);
	gap: clamp(1.5rem, 3vw, 3rem);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: thin; scrollbar-color: var(--ptl-linea) transparent;
}
.ptl__list:focus-visible { outline: 2px solid; outline-offset: 4px; }
.ptl__list > li { scroll-snap-align: start; margin: 0; padding: 0; }

.ptl blockquote {
	margin: 0; padding: 0; border: 0; height: 100%;
	display: flex; flex-direction: column; gap: 1.25rem;
	font-style: normal; quotes: "«" "»";
}
.ptl blockquote p {
	margin: 0; font-size: 16px; line-height: 28px; font-weight: 500;
	text-wrap: pretty;
}
.ptl blockquote p::before {
	/* Icono bocadillo con comillas: se tiñe con --ptl-acento */
	content: ""; display: block; width: 44px; height: 44px; margin-bottom: 14px;
	background: var(--ptl-acento);
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path d='M16.8 34.1A16 16 0 1 0 12.1 29L7.5 41z' fill='none' stroke='%23000' stroke-width='4.5' stroke-linejoin='round'/><circle cx='21' cy='19' r='3.6'/><path d='M24.6 19c0 4.6-2.4 7.9-6.2 9.4 1.9-1.9 2.8-3.9 2.8-6.2z'/><circle cx='30.5' cy='19' r='3.6'/><path d='M34.1 19c0 4.6-2.4 7.9-6.2 9.4 1.9-1.9 2.8-3.9 2.8-6.2z'/></svg>") center / contain no-repeat;
	        mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path d='M16.8 34.1A16 16 0 1 0 12.1 29L7.5 41z' fill='none' stroke='%23000' stroke-width='4.5' stroke-linejoin='round'/><circle cx='21' cy='19' r='3.6'/><path d='M24.6 19c0 4.6-2.4 7.9-6.2 9.4 1.9-1.9 2.8-3.9 2.8-6.2z'/><circle cx='30.5' cy='19' r='3.6'/><path d='M34.1 19c0 4.6-2.4 7.9-6.2 9.4 1.9-1.9 2.8-3.9 2.8-6.2z'/></svg>") center / contain no-repeat;
}
.ptl cite {
	font-style: normal;
	font-size: 12px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
	color: var(--ptl-acento);
}
.ptl cite time { font-weight: 500; color: rgba(0,0,0,.5); margin-left: .4em; }

/* ---------- Línea de confianza: carrito / checkout ---------- */
.ptl-trust {
	margin: 1rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--ptl-linea);
	font-size: 13px; line-height: 22px; text-align: center;
}
.ptl-trust q { quotes: "«" "»"; font-style: italic; }
.ptl-trust span { display: block; margin-top: .25rem; opacity: var(--ptl-suave); font-size: .9em; }
.ptl-trust a { color: var(--ptl-acento); text-decoration: underline; text-underline-offset: .2em; }

@media (prefers-reduced-motion: reduce) { .ptl__list { scroll-behavior: auto; } }
