/* =========================================================================
   Unicentro Cúcuta – Ficha de local
   Se carga solo en las páginas de cada local (tipo "directories").
   ========================================================================= */

.uc-ficha {
	--uc-verde: #075837;
	--uc-verde-osc: #0B2E1F;
	--uc-medio: #7AA52B;
	--uc-lima: #BDD163;
	--uc-lima-fuerte: #ADC210;
	--uc-fondo: #F3F7E9;
	--uc-borde: #D9E3CC;
	--uc-texto: #3B4540;
	--uc-whatsapp: #1FA855;
	--uc-radio: 22px;

	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 20px 80px;
	color: var(--uc-texto);
}
.uc-ficha *,
.uc-ficha *::before,
.uc-ficha *::after { box-sizing: border-box; }
.uc-ficha a { text-decoration: none; }

/* Migas de pan */
.uc-ficha__migas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 22px;
	color: #7c857f;
}
.uc-ficha__migas a { color: var(--uc-verde); }
.uc-ficha__migas a:hover { text-decoration: underline; }

/* ---------- Encabezado: información + foto ---------- */
.uc-ficha__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	background: linear-gradient(135deg, var(--uc-fondo) 0%, #ffffff 70%);
	border: 1px solid var(--uc-borde);
	border-radius: calc(var(--uc-radio) + 8px);
	padding: 40px;
}

.uc-ficha__marca {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 22px;
}
.uc-ficha__logo {
	flex: 0 0 104px;
	height: 104px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--uc-borde);
	box-shadow: 0 8px 24px rgba(11, 46, 31, .08);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
}
.uc-ficha__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.uc-ficha__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.uc-chip {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--uc-lima);
	color: var(--uc-verde-osc) !important;
	font-size: 13px;
	font-weight: 600;
}
.uc-chip:hover { background: var(--uc-lima-fuerte); }

.uc-estado {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	background: #fff;
	border: 1px solid var(--uc-borde);
}
.uc-estado::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.uc-estado--abierto { color: #1a7f3c; }
.uc-estado--cerrado { color: #b23a2b; }

.uc-ficha__titulo {
	font-size: clamp(34px, 4.4vw, 56px);
	line-height: 1.05;
	margin: 0 0 12px;
	color: var(--uc-verde-osc);
}
.uc-ficha__ubicacion {
	font-size: 17px;
	font-weight: 600;
	color: var(--uc-medio);
	margin: 0 0 18px;
}
.uc-ficha__ubicacion i { margin-right: 6px; }

.uc-ficha__desc {
	font-size: 16px;
	line-height: 1.65;
	margin-bottom: 26px;
	max-width: 56ch;
}
.uc-ficha__desc p:last-child { margin-bottom: 0; }

/* Botones */
.uc-ficha__acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.uc-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	border: 2px solid transparent;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.uc-btn:hover { transform: translateY(-2px); }
.uc-btn--primario { background: var(--uc-verde); color: #fff !important; }
.uc-btn--primario:hover { background: var(--uc-verde-osc); }
.uc-btn--whatsapp { background: var(--uc-whatsapp); color: #fff !important; }
.uc-btn--whatsapp:hover { background: #178a45; }
.uc-btn--borde { border-color: var(--uc-verde); color: var(--uc-verde) !important; background: #fff; }
.uc-btn--borde:hover { background: var(--uc-verde); color: #fff !important; }

/* Foto de fachada */
.uc-ficha__foto {
	margin: 0;
	border-radius: var(--uc-radio);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 560px;
	width: 100%;
	box-shadow: 0 24px 48px rgba(11, 46, 31, .16);
	background: #fff;
}
.uc-ficha__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.uc-ficha__foto--vacia {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--uc-fondo);
	box-shadow: none;
	border: 1px dashed var(--uc-borde);
}
.uc-ficha__foto--vacia img {
	width: 55%;
	height: auto;
	object-fit: contain;
	opacity: .9;
}

/* ---------- Tarjetas de datos ---------- */
.uc-ficha__datos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}
.uc-card {
	background: #fff;
	border: 1px solid var(--uc-borde);
	border-radius: var(--uc-radio);
	padding: 28px;
}
.uc-card__titulo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	margin: 0 0 18px;
	color: var(--uc-verde-osc);
}
.uc-card__titulo i {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--uc-fondo);
	color: var(--uc-verde);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}
.uc-card__subtitulo {
	font-weight: 600;
	color: var(--uc-verde-osc);
	margin: 20px 0 10px;
}

.uc-lista {
	list-style: none;
	margin: 0;
	padding: 0;
}
.uc-lista li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #edf2e6;
	line-height: 1.4;
	word-break: break-word;
}
.uc-lista li:last-child { border-bottom: 0; }
.uc-lista i {
	color: var(--uc-medio);
	width: 18px;
	text-align: center;
	margin-top: 2px;
	flex: 0 0 18px;
}
.uc-lista a { color: var(--uc-verde); font-weight: 600; }
.uc-lista a:hover { text-decoration: underline; }
.uc-lista small { color: #7c857f; }
.uc-vacio { margin: 0; color: #7c857f; line-height: 1.5; }

/* Horario */
.uc-horario { width: 100%; border-collapse: collapse; margin: 0; }
.uc-horario th,
.uc-horario td {
	padding: 8px 10px;
	border: 0;
	border-bottom: 1px solid #edf2e6;
	font-size: 15px;
	text-align: left;
	background: transparent;
}
.uc-horario th { font-weight: 500; }
.uc-horario td { text-align: right; white-space: nowrap; }
.uc-horario tr:last-child th,
.uc-horario tr:last-child td { border-bottom: 0; }
.uc-horario tr.es-hoy th,
.uc-horario tr.es-hoy td {
	background: var(--uc-fondo);
	font-weight: 700;
	color: var(--uc-verde-osc);
}
.uc-horario tr.es-hoy th { border-radius: 10px 0 0 10px; }
.uc-horario tr.es-hoy td { border-radius: 0 10px 10px 0; }
.uc-horario th span { font-weight: 500; color: var(--uc-medio); font-size: 13px; }

/* Redes */
.uc-redes { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-redes a {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--uc-fondo);
	color: var(--uc-verde) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: background .2s ease, color .2s ease;
}
.uc-redes a:hover { background: var(--uc-verde); color: #fff !important; }

/* ---------- Más locales ---------- */
.uc-ficha__relacionados { margin-top: 56px; }
.uc-relacionados__cabecera {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.uc-relacionados__cabecera h2 {
	margin: 0;
	font-size: clamp(26px, 3vw, 36px);
	color: var(--uc-verde-osc);
}
.uc-relacionados__cabecera h2::first-letter { text-transform: uppercase; }
.uc-enlace { color: var(--uc-verde); font-weight: 600; white-space: nowrap; }
.uc-enlace i { margin-left: 6px; transition: transform .2s ease; }
.uc-enlace:hover i { transform: translateX(4px); }

.uc-relacionados__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.uc-mini {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	background: #fff;
	border: 1px solid var(--uc-borde);
	border-radius: var(--uc-radio);
	padding: 22px 18px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.uc-mini:hover {
	transform: translateY(-4px);
	border-color: var(--uc-lima);
	box-shadow: 0 16px 32px rgba(11, 46, 31, .10);
}
.uc-mini__logo {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}
.uc-mini__logo img {
	max-width: 75%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}
.uc-mini__nombre { font-weight: 700; color: var(--uc-verde-osc); font-size: 17px; }
.uc-mini__local { font-size: 14px; color: var(--uc-medio); }

/* ---------- Tableta y celular ---------- */
@media (max-width: 1024px) {
	.uc-ficha__hero { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
	.uc-ficha__foto { max-height: 460px; aspect-ratio: 4 / 3; order: -1; }
	.uc-ficha__datos { grid-template-columns: 1fr 1fr; }
	.uc-ficha__datos .uc-card:last-child { grid-column: 1 / -1; }
	.uc-relacionados__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.uc-ficha { padding: 16px 16px 56px; }
	.uc-ficha__hero { padding: 20px; border-radius: var(--uc-radio); }
	.uc-ficha__logo { flex-basis: 76px; height: 76px; border-radius: 16px; padding: 8px; }
	.uc-ficha__datos { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
	.uc-card { padding: 22px; }
	.uc-ficha__acciones .uc-btn { flex: 1 1 auto; justify-content: center; }
	.uc-relacionados__cabecera { flex-direction: column; align-items: flex-start; }
	.uc-relacionados__grid { gap: 12px; }
	.uc-mini { padding: 16px 10px; }
	.uc-mini__logo { height: 84px; }
}

/* Tabla de horario: sin bordes heredados del tema */
.uc-ficha .uc-horario,
.uc-ficha .uc-horario tr,
.uc-ficha .uc-horario th,
.uc-ficha .uc-horario td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }
.uc-ficha .uc-horario { border: 0 !important; }
/* Foto de fachada: misma proporción vertical 4:5 en computador, tableta y celular.
   Tamaño recomendado de la imagen: 1200 × 1500 px (mínimo 960 × 1200 px). */
.uc-ficha .uc-ficha__foto {
	aspect-ratio: 4 / 5 !important;
	max-height: none !important;
	height: auto;
}
.uc-ficha .uc-ficha__foto img { object-position: center center; }
@media (max-width: 1024px) {
	.uc-ficha .uc-ficha__foto { aspect-ratio: 4 / 5 !important; max-height: none !important; }
}