/* elturco.es — Productos en el blog */
.ebp { margin: 2em 0; padding: 18px; border-radius: 12px; background: #fff6f3; border: 1px solid #f3d6cd; }
.ebp-title { margin: 0 0 12px !important; padding: 0 !important; font-weight: 700; font-size: 17px; color: #333; }
.ebp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ebp-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: 10px; padding: 10px; text-decoration: none !important; color: #333 !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: box-shadow .15s; }
.ebp-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.ebp-thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: #fafafa; }
.ebp-thumb img.ebp-img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.ebp-name { font-size: 14px; line-height: 1.3; font-weight: 600; }
.ebp-price { font-size: 15px; color: #e0262c; font-weight: 700; }
.ebp-price small { display: block; font-size: 11px; color: #777; font-weight: 400; }
.ebp-btn { margin-top: auto; text-align: center; background: #e0262c; color: #fff; border-radius: 6px; padding: 8px 6px; font-size: 14px; font-weight: 600; }
@media (max-width: 767px) {
	.ebp { padding: 14px; }
	.ebp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ebp-mid .ebp-grid { grid-template-columns: 1fr 1fr 1fr; }
	.ebp-mid .ebp-btn, .ebp-mid .ebp-price small { display: none; }
	.ebp-mid .ebp-name { font-size: 12px; }
}

/* 1.0.2 — nombres en 2 líneas como máximo; franja central compacta en móvil. */
.ebp-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
	.ebp-title { font-size: 15px; }
	.ebp-mid { padding: 10px; }
	.ebp-mid .ebp-grid { gap: 8px; }
	.ebp-mid .ebp-card { padding: 6px; gap: 4px; }
	.ebp-mid .ebp-name { font-size: 11px; font-weight: 600; }
	.ebp-mid .ebp-price { font-size: 13px; }
}
