/* L3I Ficha Logística · web */
.l3i-ficha { margin: 30px 0 10px; }
.l3i-ficha__titulo {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	color: #1e1e1e;
	margin: 0 0 16px !important;
	letter-spacing: 0 !important;
}
.l3i-ficha__tabla {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #af8f48;
	margin: 0 !important;
	font-family: 'Roboto Serif', serif;
	font-size: 16px;
	color: #1e1e1e;
	background: #fff;
}
.l3i-ficha__tabla thead th {
	background: #192e4a;
	color: #af8f48;
	font-family: 'Roboto Serif', serif;
	font-weight: 600;
	font-size: 17px;
	text-align: center;
	padding: 16px 12px;
	border: 1px solid #af8f48;
	text-transform: none;
	letter-spacing: 0;
}
.l3i-ficha__tabla tbody th,
.l3i-ficha__tabla tbody td {
	padding: 14px 12px;
	border: 1px solid #af8f48;
	text-align: center;
	font-weight: 400;
	background: #fff;
}
.l3i-ficha__tabla tbody th { text-align: left; padding-left: 20px; }

.l3i-ficha__img {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit !important;
	text-decoration: none !important;
	border-bottom: 1px dashed #af8f48;
	cursor: zoom-in;
	transition: color .2s ease;
}
.l3i-ficha__img svg { color: #af8f48; flex: none; }
.l3i-ficha__img:hover,
.l3i-ficha__img:focus-visible { color: #af8f48 !important; }

/* Móvil: cada formato se ve como una tarjeta */
@media (max-width: 600px) {
	.l3i-ficha__tabla, .l3i-ficha__tabla tbody, .l3i-ficha__tabla tr { display: block; width: 100%; }
	.l3i-ficha__tabla { border: 0; }
	.l3i-ficha__tabla thead { display: none; }
	.l3i-ficha__tabla tbody tr { border: 1px solid #af8f48; margin-bottom: 12px; }
	.l3i-ficha__tabla tbody th {
		display: block; background: #192e4a; color: #fff; border: 0; padding: 12px 16px;
	}
	.l3i-ficha__tabla tbody th .l3i-ficha__img { color: #fff !important; border-bottom-color: #af8f48; }
	.l3i-ficha__tabla tbody td {
		display: flex; justify-content: space-between; border: 0; border-top: 1px solid rgba(175,143,72,.45);
		padding: 10px 16px; text-align: right;
	}
	.l3i-ficha__tabla tbody td::before { content: attr(data-label); color: #192e4a; font-weight: 600; text-align: left; }
}

/* Lightbox */
.l3i-lb {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	background: rgba(15, 25, 40, .88); padding: 60px 70px; opacity: 0; transition: opacity .2s ease;
}
.l3i-lb.is-open { opacity: 1; }
.l3i-lb__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.l3i-lb__img { max-width: min(1100px, 100%); max-height: calc(100vh - 160px); object-fit: contain; background: #fff; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.l3i-lb__caption { margin-top: 14px; color: #fff; font: 500 16px/1.4 'Montserrat', sans-serif; text-align: center; }
.l3i-lb button {
	position: absolute; background: transparent !important; border: 0 !important; color: #fff; cursor: pointer;
	padding: 10px !important; line-height: 0; box-shadow: none !important; width: auto; height: auto; min-width: 0;
}
.l3i-lb button:hover, .l3i-lb button:focus-visible { color: #af8f48; }
.l3i-lb__close { top: 16px; right: 16px; }
.l3i-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.l3i-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.l3i-lb[data-single] .l3i-lb__prev, .l3i-lb[data-single] .l3i-lb__next { display: none; }
@media (max-width: 600px) {
	.l3i-lb { padding: 56px 12px 40px; }
	.l3i-lb__prev, .l3i-lb__next { top: auto; bottom: 8px; transform: none; }
}
body.l3i-lb-open { overflow: hidden; }
